aboutsummaryrefslogtreecommitdiff
path: root/include/elf
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2012-10-23 17:46:44 +0000
committerTom Tromey <tromey@redhat.com>2012-10-23 17:46:44 +0000
commit9ece1fa9916f3105bc410a454d23e3d13021e3ac (patch)
tree6dcf0e793ebc166983266c6e9e843396fb25975a /include/elf
parent545f743d640c6bd74e496ec9c522beb833e34102 (diff)
downloadgdb-9ece1fa9916f3105bc410a454d23e3d13021e3ac.zip
gdb-9ece1fa9916f3105bc410a454d23e3d13021e3ac.tar.gz
gdb-9ece1fa9916f3105bc410a454d23e3d13021e3ac.tar.bz2
binutils
* readelf.c (get_note_type): Handle NT_SIGINFO, NT_FILE. (print_core_note): New function. (process_note): Call it. include/common/elf * common.h (NT_SIGINFO, NT_FILE): New defines.
Diffstat (limited to 'include/elf')
-rw-r--r--include/elf/ChangeLog4
-rw-r--r--include/elf/common.h2
2 files changed, 6 insertions, 0 deletions
diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog
index ece126a..c75e2ff 100644
--- a/include/elf/ChangeLog
+++ b/include/elf/ChangeLog
@@ -1,3 +1,7 @@
+2012-10-23 Tom Tromey <tromey@redhat.com>
+
+ * common.h (NT_SIGINFO, NT_FILE): New defines.
+
2012-08-27 Walter Lee <walt@tilera.com>
* tilegx.h (R_TILEGX_IMM16_X0_HW0_PLT_PCREL): New relocation.
diff --git a/include/elf/common.h b/include/elf/common.h
index 1c681d5..be228cd 100644
--- a/include/elf/common.h
+++ b/include/elf/common.h
@@ -549,6 +549,8 @@
/* note name must be "LINUX". */
#define NT_ARM_VFP 0x400 /* ARM VFP registers */
/* note name must be "LINUX". */
+#define NT_SIGINFO 0x53494749 /* Fields of siginfo_t. */
+#define NT_FILE 0x46494c45 /* Description of mapped files. */
/* Note segments for core files on dir-style procfs systems. */