qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v1 28/28] gdbstub: Switch to the thread receiving a signal


From: Richard Henderson
Subject: Re: [PATCH v1 28/28] gdbstub: Switch to the thread receiving a signal
Date: Tue, 26 Oct 2021 13:34:39 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0

On 10/26/21 3:22 AM, Alex Bennée wrote:
From: Pavel Labath<pavel@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<pavel@labath.sk>
Message-Id:<20211019174953.36560-1-pavel@labath.sk>
Signed-off-by: Alex Bennée<alex.bennee@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.henderson@linaro.org>

r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]