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(+)