qemu-e2k/gdbstub
Matheus Branco Borella 761e3c1088 gdbstub: fixes cases where wrong threads were reported to GDB on SIGINT
This fix is implemented by having the vCont handler set the value of
`gdbserver_state.c_cpu` if any threads are to be resumed. The specific
CPU picked is arbitrarily from the ones to be resumed, but it should
be okay, as all GDB cares about is that it is a resumed thread.

Signed-off-by: Matheus Branco Borella <dark.ryu.550@gmail.com>
Message-Id: <20230804182633.47300-2-dark.ryu.550@gmail.com>
[AJB: style and whitespace fixes]
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1725
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20230829161528.2707696-9-alex.bennee@linaro.org>
2023-08-30 14:57:50 +01:00
..
gdbstub.c gdbstub: fixes cases where wrong threads were reported to GDB on SIGINT 2023-08-30 14:57:50 +01:00
internals.h gdbstub: Add support for info proc mappings 2023-07-03 12:52:34 +01:00
meson.build meson: Replace softmmu_ss -> system_ss 2023-06-20 10:01:30 +02:00
softmmu.c gdbstub: lightly refactor connection to avoid snprintf 2023-07-03 12:52:30 +01:00
syscalls.c gdbstub: Build syscall.c once 2023-03-07 20:44:09 +00:00
trace-events gdbstub: more fixes for client Ctrl-C handling 2023-08-10 11:04:34 -07:00
trace.h
user-target.c gdbstub: Add support for info proc mappings 2023-07-03 12:52:34 +01:00
user.c gdbstub: only send stop-reply packets when allowed to 2023-05-18 12:40:52 -07:00