qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v3 4/5] gdbstub: Add Xfer:siginfo:read stub


From: Richard Henderson
Subject: Re: [PATCH v3 4/5] gdbstub: Add Xfer:siginfo:read stub
Date: Mon, 11 Mar 2024 07:21:06 -1000
User-agent: Mozilla Thunderbird

On 3/8/24 17:09, Gustavo Romero wrote:
Add stub to handle Xfer:siginfo:read packet query that requests the
machine's siginfo data.

This is used when GDB user executes 'print $_siginfo' and when the
machine stops due to a signal, for instance, on SIGSEGV. The information
in siginfo allows GDB to determiner further details on the signal, like
the fault address/insn when the SIGSEGV is caught.

Signed-off-by: Gustavo Romero<gustavo.romero@linaro.org>
---
  gdbstub/gdbstub.c   |  8 ++++++++
  gdbstub/internals.h |  1 +
  gdbstub/user.c      | 23 +++++++++++++++++++++++
  3 files changed, 32 insertions(+)

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~



reply via email to

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