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]

[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


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