This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 2/2] RISC-V: Linux signal frame support.
On Thu, 25 Oct 2018 17:00:30 -0700
Jim Wilson <jimw@sifive.com> wrote:
> Add support for recognizing signal trampolines, parsing the signal frame,
> and reading register values from it.
>
> gdb/
> * riscv-linux-tdep.c: Include tramp-frame.h and trad-frame.h.
> (riscv_linux_sigframe_init): Declare.
> (RISCV_INST_LI_A7_SIGRETURN, RISCV_INT_ECALL): New.
> (riscv_linux_sigframe): New.
> (SIGFRAME_SIGINFO_SIZE, UCONTEXT_MCONTEXT_OFFSET): New.
> (riscv_linux_sigframe_init): Define.
> (riscv_linux_init_abi): Call tramp_frame_prepend_unwinder.
Hi Jim,
Though I don't claim any knowledge of the RISC-V architecture, I
read through your patch and it looks reasonable to me.
Kevin