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.rom...@linaro.org>
---
  gdbstub/gdbstub.c   |  8 ++++++++
  gdbstub/internals.h |  1 +
  gdbstub/user.c      | 23 +++++++++++++++++++++++
  3 files changed, 32 insertions(+)

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

r~

Reply via email to