diff options
author | Tom Tromey <tromey@redhat.com> | 2012-11-08 21:16:43 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2012-11-08 21:16:43 +0000 |
commit | 9015683b1c9a8d301cd846fcc8bf73726310bd4f (patch) | |
tree | fd705128b6fdec9dbea260b3181dbceca9b8ee80 /bfd | |
parent | ea9f10bb87523d421e6c863a7ec66dfee41692b4 (diff) | |
download | gdb-9015683b1c9a8d301cd846fcc8bf73726310bd4f.zip gdb-9015683b1c9a8d301cd846fcc8bf73726310bd4f.tar.gz gdb-9015683b1c9a8d301cd846fcc8bf73726310bd4f.tar.bz2 |
gdb
* linux-tdep.c (linux_make_siginfo_note): New function.
(linux_make_corefile_notes): Use it.
* corelow.c (get_core_siginfo): New function.
(core_xfer_partial) <TARGET_OBJECT_SIGNAL_INFO>: New case.
gdb/testsuite
* gdb.base/siginfo-obj.exp: Create core file. Test siginfo from
core files, if possible.
* gdb.base/siginfo-thread.c: New file
* gdb.base/siginfo-thread.exp: New file
bfd
* elf.c (elfcore_grok_note) <NT_SIGINFO>: New case; make
pseudosection.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/elf.c | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index d472c5d..4d32f21 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2012-11-08 Tom Tromey <tromey@redhat.com> + + * elf.c (elfcore_grok_note) <NT_SIGINFO>: New case; make + pseudosection. + 2012-11-08 Alan Modra <amodra@gmail.com> * aclocal.m4: Regenerate. @@ -8604,6 +8604,10 @@ elfcore_grok_note (bfd *abfd, Elf_Internal_Note *note) return TRUE; } + + case NT_SIGINFO: + return elfcore_make_note_pseudosection (abfd, ".note.linuxcore.siginfo", + note); } } |