This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]