On 10/26/21 3:22 AM, Alex Bennée wrote:
From: Pavel Labath<[email protected]>
Respond with Txxthread:yyyy; instead of a plain Sxx to indicate which
thread received the signal. Otherwise, the debugger will associate it
with the main one. Also automatically select this thread, as that is
what gdb expects.
Signed-off-by: Pavel Labath<[email protected]>
Message-Id:<[email protected]>
Signed-off-by: Alex Bennée<[email protected]>
---
gdbstub.c | 8 ++-
tests/tcg/multiarch/Makefile.target | 10 +++-
.../gdbstub/test-thread-breakpoint.py | 60 +++++++++++++++++++
3 files changed, 75 insertions(+), 3 deletions(-)
create mode 100644 tests/tcg/multiarch/gdbstub/test-thread-breakpoint.py
Reviewed-by: Richard Henderson <[email protected]>
r~