aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2012-11-08 21:16:43 +0000
committerTom Tromey <tromey@redhat.com>2012-11-08 21:16:43 +0000
commit9015683b1c9a8d301cd846fcc8bf73726310bd4f (patch)
treefd705128b6fdec9dbea260b3181dbceca9b8ee80 /bfd/elf.c
parentea9f10bb87523d421e6c863a7ec66dfee41692b4 (diff)
downloadgdb-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.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/bfd/elf.c b/bfd/elf.c
index cab1cc7..4465f48 100644
--- a/bfd/elf.c
+++ b/bfd/elf.c
@@ -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);
}
}