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/elf.c | |
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/elf.c')
-rw-r--r-- | bfd/elf.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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); } } |