On 3/8/24 17:08, Gustavo Romero wrote:
Save target's siginfo into gdbserver_state so it can be used later, for
example, in any stub that requires the target's si_signo and si_code.

This change affects only linux-user mode.

Signed-off-by: Gustavo Romero<gustavo.rom...@linaro.org>
Suggested-by: Richard Henderson<richard.hender...@linaro.org>
---
  bsd-user/main.c        |  2 +-
  bsd-user/signal.c      |  5 ++++-
  gdbstub/user.c         | 23 +++++++++++++++++++----
  include/gdbstub/user.h |  6 +++++-
  linux-user/main.c      |  2 +-
  linux-user/signal.c    |  5 ++++-
  6 files changed, 34 insertions(+), 9 deletions(-)

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

r~

Reply via email to