diff options
author | John Baldwin <jhb@FreeBSD.org> | 2015-12-13 22:26:19 -0800 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2016-01-19 08:15:08 -0800 |
commit | f4ddf30f1108b2c0b3eee5677c912383ac903256 (patch) | |
tree | 9c1a43f4889eec4ffeda5cb6a7fb56a8080c6520 /include | |
parent | 10e3ed9029dc0b6eafcd991d9f292fc079f80cf5 (diff) | |
download | gdb-f4ddf30f1108b2c0b3eee5677c912383ac903256.zip gdb-f4ddf30f1108b2c0b3eee5677c912383ac903256.tar.gz gdb-f4ddf30f1108b2c0b3eee5677c912383ac903256.tar.bz2 |
Add support to readelf for reading FreeBSD ELF core notes.
binutils/ChangeLog:
* readelf.c (get_freebsd_elfcore_note_type): New
(process_note): Add support for FreeBSD core notes.
include/ChangeLog:
* elf/common.h (NT_FREEBSD_THRMISC): Define.
(NT_FREEBSD_PROCSTAT_PROC): Define.
(NT_FREEBSD_PROCSTAT_FILES): Define.
(NT_FREEBSD_PROCSTAT_VMMAP): Define.
(NT_FREEBSD_PROCSTAT_GROUPS): Define.
(NT_FREEBSD_PROCSTAT_UMASK): Define.
(NT_FREEBSD_PROCSTAT_RLIMIT): Define.
(NT_FREEBSD_PROCSTAT_OSREL): Define.
(NT_FREEBSD_PROCSTAT_PSSTRINGS): Define.
(NT_FREEBSD_PROCSTAT_AUXV): Define.
Diffstat (limited to 'include')
-rw-r--r-- | include/ChangeLog | 13 | ||||
-rw-r--r-- | include/elf/common.h | 14 |
2 files changed, 27 insertions, 0 deletions
diff --git a/include/ChangeLog b/include/ChangeLog index 4195e47..cbd40b2 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,16 @@ +2016-01-19 John Baldwin <jhb@FreeBSD.org> + + * elf/common.h (NT_FREEBSD_THRMISC): Define. + (NT_FREEBSD_PROCSTAT_PROC): Define. + (NT_FREEBSD_PROCSTAT_FILES): Define. + (NT_FREEBSD_PROCSTAT_VMMAP): Define. + (NT_FREEBSD_PROCSTAT_GROUPS): Define. + (NT_FREEBSD_PROCSTAT_UMASK): Define. + (NT_FREEBSD_PROCSTAT_RLIMIT): Define. + (NT_FREEBSD_PROCSTAT_OSREL): Define. + (NT_FREEBSD_PROCSTAT_PSSTRINGS): Define. + (NT_FREEBSD_PROCSTAT_AUXV): Define. + 2016-01-18 Miranda Cupertino <Cupertino.Miranda@synopsys.com> Zissulescu Claudiu <Claudiu.Zissulescu@synopsys.com> diff --git a/include/elf/common.h b/include/elf/common.h index ce506fc..767ad3e 100644 --- a/include/elf/common.h +++ b/include/elf/common.h @@ -595,6 +595,20 @@ /* Note segment for SystemTap probes. */ #define NT_STAPSDT 3 +/* Note segments for core files on FreeBSD systems. Note name is + "FreeBSD". */ + +#define NT_FREEBSD_THRMISC 7 /* Thread miscellaneous info. */ +#define NT_FREEBSD_PROCSTAT_PROC 8 /* Procstat proc data. */ +#define NT_FREEBSD_PROCSTAT_FILES 9 /* Procstat files data. */ +#define NT_FREEBSD_PROCSTAT_VMMAP 10 /* Procstat vmmap data. */ +#define NT_FREEBSD_PROCSTAT_GROUPS 11 /* Procstat groups data. */ +#define NT_FREEBSD_PROCSTAT_UMASK 12 /* Procstat umask data. */ +#define NT_FREEBSD_PROCSTAT_RLIMIT 13 /* Procstat rlimit data. */ +#define NT_FREEBSD_PROCSTAT_OSREL 14 /* Procstat osreldate data. */ +#define NT_FREEBSD_PROCSTAT_PSSTRINGS 15 /* Procstat ps_strings data. */ +#define NT_FREEBSD_PROCSTAT_AUXV 16 /* Procstat auxv data. */ + /* Note segments for core files on NetBSD systems. Note name must start with "NetBSD-CORE". */ |