RFC: handle new NT_SIGINFO note in gdb
Pedro Alves
palves@redhat.com
Tue Oct 30 18:31:00 GMT 2012
On 10/30/2012 05:18 PM, Tom Tromey wrote:
> This patch adds support for the new Linux NT_SIGINFO core note to gdb.
>
> First, I've CCd the binutils list because this includes a BFD change.
> In particular, in order to access the note data, I changed BFD to make a
> pseudosection for this new note's data. This seemed ok based on
> surrounding code; but if some other method is preferred, just let me
> know and I will implement that instead.
>
> On the gdb side the support is relatively straightforward.
>
All looks great to me. Thanks Tom.
> I chose to implement the support directly in corelow, since adding a new
> hook just for this functionality seemed like overkill.
>
> A new test case is included. It uses "gcore" and then re-reads the
> siginfo data from the generated core.
>
> Built and regtested on x86-64 Fedora 16.
> On the binutils side, I remembered this time to run the test suite in
> binutils, gas, and ld.
--
Pedro Alves
More information about the Gdb-patches
mailing list