aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf.c
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2017-06-28 12:47:14 -0700
committerJohn Baldwin <jhb@FreeBSD.org>2017-07-07 16:11:42 -0700
commite6f3b9c3194c0d89efffd6e5b59471950f979e5a (patch)
tree128393ca207af58485e91ae2cf474d78e8f80b6b /bfd/elf.c
parent0b9305edf1d0b15913643b132dad02d4ca4fbb43 (diff)
downloadgdb-e6f3b9c3194c0d89efffd6e5b59471950f979e5a.zip
gdb-e6f3b9c3194c0d89efffd6e5b59471950f979e5a.tar.gz
gdb-e6f3b9c3194c0d89efffd6e5b59471950f979e5a.tar.bz2
Create pseudo sections for FreeBSD NT_PTLWPINFO core notes.
bfd/ChangeLog: * elf.c (elfcore_grok_freebsd_note): Handle NT_FREEBSD_PTLWPINFO.
Diffstat (limited to 'bfd/elf.c')
-rw-r--r--bfd/elf.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/bfd/elf.c b/bfd/elf.c
index 063a6e4..dcb0638 100644
--- a/bfd/elf.c
+++ b/bfd/elf.c
@@ -9980,6 +9980,10 @@ elfcore_grok_freebsd_note (bfd *abfd, Elf_Internal_Note *note)
else
return TRUE;
+ case NT_FREEBSD_PTLWPINFO:
+ return elfcore_make_note_pseudosection (abfd, ".note.freebsdcore.lwpinfo",
+ note);
+
default:
return TRUE;
}