This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH 0/2] RISC-V: Linux signal frame support.
- From: Jim Wilson <jimw at sifive dot com>
- To: gdb-patches at sourceware dot org
- Cc: Jim Wilson <jimw at sifive dot com>
- Date: Thu, 25 Oct 2018 16:58:51 -0700
- Subject: [PATCH 0/2] RISC-V: Linux signal frame support.
This adds initial support for unwinding through signal trampolines.
I've tested it by hand and can see correct register values for the
frame where the signal occurred. I've tested it with the gdb
testsuite on an unleashed board with fc29 and a patched kernel, and I
get 37 more passes and 35 fewer failures.
The result isn't as good as I hoped, as I'm getting a lot of failures
from the fact that stepi into handler doesn't work, but that
apparently is not expected to work with software single step which is
all I have implemented so far.
This also fixes some duplicate comments the way that Simon Marchi
suggested back in August, by moving them to a .h file and modifying
the .c file to refer to the comments in the .h file.
Jim