diff options
author | John Baldwin <jhb@FreeBSD.org> | 2015-12-13 22:47:25 -0800 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2016-01-19 08:15:08 -0800 |
commit | 5b2c414df12bb61ab1e40099b92fc8f00983b930 (patch) | |
tree | 3ced632864b4977ddd3d5fb7eac9d2c4c724e8a7 /bfd/elf.c | |
parent | f4ddf30f1108b2c0b3eee5677c912383ac903256 (diff) | |
download | gdb-5b2c414df12bb61ab1e40099b92fc8f00983b930.zip gdb-5b2c414df12bb61ab1e40099b92fc8f00983b930.tar.gz gdb-5b2c414df12bb61ab1e40099b92fc8f00983b930.tar.bz2 |
Add a pseudosection for the NT_FREEBSD_THRMISC note.
bfd/ChangeLog:
* elf.c (elfcore_grok_note): Recognize NT_FREEBSD_THRMISC notes.
Diffstat (limited to 'bfd/elf.c')
-rw-r--r-- | bfd/elf.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -9287,6 +9287,13 @@ elfcore_grok_note (bfd *abfd, Elf_Internal_Note *note) case NT_SIGINFO: return elfcore_make_note_pseudosection (abfd, ".note.linuxcore.siginfo", note); + + case NT_FREEBSD_THRMISC: + if (note->namesz == 8 + && strcmp (note->namedata, "FreeBSD") == 0) + return elfcore_make_note_pseudosection (abfd, ".thrmisc", note); + else + return TRUE; } } |