diff options
author | John Baldwin <jhb@FreeBSD.org> | 2016-06-12 08:56:31 -0700 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2016-06-24 10:32:15 -0700 |
commit | aa1ed4a93a2eb0fb90d274c15288f3aad1791f60 (patch) | |
tree | 26f93d8dd80a0eb0576226bca259b049cdf28dec /bfd/compress.c | |
parent | b00f86d0720d2cf44f3edb6101682074da1abe5d (diff) | |
download | gdb-aa1ed4a93a2eb0fb90d274c15288f3aad1791f60.zip gdb-aa1ed4a93a2eb0fb90d274c15288f3aad1791f60.tar.gz gdb-aa1ed4a93a2eb0fb90d274c15288f3aad1791f60.tar.bz2 |
Add elfcore_grok_freebsd_note to parse FreeBSD ELF core notes.
Move parsing of FreeBSD-specific ELF core notes out of elfcore_grok_note
into a new elfcore_grok_freebsd_note function. Add core note grok routines
for FreeBSD's psinfo and prstatus notes while here rather than depending
on the native handling in elfcore_grok_note.
bfd/ChangeLog:
* elf.c (elfcore_grok_note): Remove handling of NT_X86_XSTATE for
FreeBSD. Remove case for NT_FREEBSD_THRMISC.
(elfcore_grok_freebsd_psinfo): New function.
(elfcore_grok_freebsd_prstatus): New function.
(elfcore_grok_freebsd_note): New function.
(elf_parse_notes): Use "elfcore_grok_freebsd_note" for "FreeBSD"
notes.
Diffstat (limited to 'bfd/compress.c')
0 files changed, 0 insertions, 0 deletions