[3/2] Inspect extra signal information, handle amd64 bi-arch gdb
Pedro Alves
pedro@codesourcery.com
Wed Feb 4 21:02:00 GMT 2009
Here's a patch that applies on top of the other two. I think
it's easy to read it split out from the other patches.
This handles the layout conversion for x86/amd64, near the
PTRACE_[G|S]ETSIGINFO calls, like we discussed yesterday.
I'm not adjusting gdbserver here yet, since the original series
added $_siginfo support for ARM, and x86/amd64 only, and, gdbserver
on x86/amd64 isn't biarch aware yet. We can handle doing something
like this there when we add $_siginfo gdbarch type support for ppc, or
when we add biarch support for x86/amd64.
What do you think? I've tried to make it as pretty as I could. :-)
Please, don't hesitate pointing me at anything bogus I may
be doing.
--
Pedro Alves
-------------- next part --------------
A non-text attachment was scrubbed...
Name: siginfo_convrt.diff
Type: text/x-diff
Size: 11864 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20090204/1a0714a6/attachment.bin>
More information about the Gdb-patches
mailing list