qemu/gdbstub
Ilya Leoshkevich 1ea96f1ded gdbstub: Support disablement in a multi-threaded process
The upcoming follow-fork-mode child support will require disabling
gdbstub in the parent process, which may have multiple threads (which
are represented as CPUs).

Loop over all CPUs in order to remove breakpoints and disable
single-step. Move the respective code into a separate function.

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Message-Id: <20240219141628.246823-2-iii@linux.ibm.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20240305121005.3528075-3-alex.bennee@linaro.org>
2024-03-06 12:35:19 +00:00
..
gdbstub.c gdbstub: expose api to find registers 2024-02-28 09:11:42 +00:00
internals.h gdbstub: Implement catching syscalls 2024-02-09 17:52:40 +00:00
meson.build meson: remove config_targetos 2023-12-31 09:11:28 +01:00
syscalls.c gdbstub: Build syscall.c once 2023-03-07 20:44:09 +00:00
system.c gdbstub: use a better signal when we halt for IO reasons 2023-12-01 14:00:52 +00:00
trace-events gdbstub: Rename 'softmmu' -> 'system' 2023-10-07 19:02:59 +02:00
trace.h
user-target.c gdbstub: Expose TARGET_SIGTRAP in a target-agnostic way 2024-02-09 17:52:40 +00:00
user.c gdbstub: Support disablement in a multi-threaded process 2024-03-06 12:35:19 +00:00