aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2012-11-08 21:16:35 +0000
committerTom Tromey <tromey@redhat.com>2012-11-08 21:16:35 +0000
commitb598e0bcd97213d3757d9f7f911450b5c0a5cc54 (patch)
tree017ab20a3250cafe715347d78737ab0847c15c29
parent088cb16c988dd5d2c5f8525ca7b1fffdd2760167 (diff)
downloadbinutils-b598e0bcd97213d3757d9f7f911450b5c0a5cc54.tar.gz
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.
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/elf.c4
2 files changed, 9 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index d472c5de3..4d32f216b 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.
diff --git a/bfd/elf.c b/bfd/elf.c
index cab1cc74c..4465f480a 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);
}
}