diff options
author | Tom Tromey <tromey@redhat.com> | 2012-10-23 17:46:44 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2012-10-23 17:46:44 +0000 |
commit | e7e9e7efbed40700dc661edb5b487b3f0c28b373 (patch) | |
tree | 7caf96180c2cf058073499e5923f304e48516373 | |
parent | e330111d534c214f7bc0a1f0d4c6e483e1bbfdad (diff) | |
download | gdb-e7e9e7efbed40700dc661edb5b487b3f0c28b373.tar.gz |
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.
-rw-r--r-- | include/elf/ChangeLog | 4 | ||||
-rw-r--r-- | include/elf/common.h | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog index ece126a62fd..c75e2ff7e88 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 1c681d5625f..be228cdc1ac 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. */ |