Re: [RFC PATCH] gdbstub: use a better signal when we halt for IO reasons

2023-11-29 Thread Alex Bennée
Alex Bennée writes: > The gdb description GDB_SIGNAL_IO is "I/O possible" and by default gdb > will try and restart the guest, getting us nowhere. Report > GDB_SIGNAL_STOP instead which should at least halt the session at the > failure point. > > Signed-off-by: Alex Bennée > Cc: Luis Machado p

[RFC PATCH] gdbstub: use a better signal when we halt for IO reasons

2023-11-23 Thread Alex Bennée
The gdb description GDB_SIGNAL_IO is "I/O possible" and by default gdb will try and restart the guest, getting us nowhere. Report GDB_SIGNAL_STOP instead which should at least halt the session at the failure point. Signed-off-by: Alex Bennée Cc: Luis Machado --- gdbstub/internals.h | 1 + gdbst