On 10/26/21 3:22 AM, Alex Bennée wrote:
From: Pavel Labath<pa...@labath.sk>

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<pa...@labath.sk>
Message-Id:<20211019174953.36560-1-pa...@labath.sk>
Signed-off-by: Alex Bennée<alex.ben...@linaro.org>
---
  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 <richard.hender...@linaro.org>

r~

Reply via email to