Re: [PATCH 1/2] gdbstub: Don't use GDB syscalls if no GDB is attached

2022-06-09 Thread Luc Michel
On 20:00 Thu 26 May , Peter Maydell wrote: > In two places in gdbstub.c we look at gdbserver_state.init to decide > whether we're going to do a semihosting syscall via the gdb remote > protocol: > * when setting up, if the user didn't explicitly select either >native semihosting or gdb

Re: [PATCH 1/2] gdbstub: Don't use GDB syscalls if no GDB is attached

2022-05-29 Thread Philippe Mathieu-Daudé via
On 26/5/22 21:00, Peter Maydell wrote: In two places in gdbstub.c we look at gdbserver_state.init to decide whether we're going to do a semihosting syscall via the gdb remote protocol: * when setting up, if the user didn't explicitly select either native semihosting or gdb semihosting, we

[PATCH 1/2] gdbstub: Don't use GDB syscalls if no GDB is attached

2022-05-26 Thread Peter Maydell
In two places in gdbstub.c we look at gdbserver_state.init to decide whether we're going to do a semihosting syscall via the gdb remote protocol: * when setting up, if the user didn't explicitly select either native semihosting or gdb semihosting, we autoselect, with the intended behaviour