On 20/10/2021 19:57, Alex Bennée wrote:
Pavel Labath writes:
On 20/10/2021 10:35, Alex Bennée wrote:
Maybe this is related to the weird output I was seeing above?
Yes, that's definitely related. What's happening is that the qemu does
not stop other thread when one of t
On 20/10/2021 10:35, Alex Bennée wrote:
Pavel Labath writes:
Respond with Txxthread:; 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
Respond with Txxthread:; 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
---
gdbstub.c
Thanks for taking a look. I've sent out a new version of the patch.
Besides the Makefile change, I have also replaced the direct
gdbserver_state manipulation with a call to gdb_set_stop_cpu.
Further responses inline.
On 19/10/2021 19:02, Alex Bennée wrote:
Pavel Labath writes:
Re
Respond with Txxthread:; 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
---
gdbstub.c
On 15/10/2021 17:59, Alex Bennée wrote:
Pavel Labath writes:
Ping.
(This is my first qemu patch, so please let me know if I am doing
something wrong.)
Apologies it slipped though the cracks. I shall have a look on Monday.
I don't want to impose, but did this get buried over the we
Ping.
(This is my first qemu patch, so please let me know if I am doing
something wrong.)
regards,
pavel
On 30/09/2021 11:51, Pavel Labath wrote:
Respond with Txxthread:; instead of a plain Sxx to indicate which
thread received the signal. Otherwise, the debugger will associate it
with
Respond with Txxthread:; 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
---
gdbstub.c