This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH 7/8] Create psuedo sections for FreeBSD NT_PTLWPINFO core notes.
- From: John Baldwin <jhb at FreeBSD dot org>
- To: gdb-patches at sourceware dot org, binutils at sourceware dot org
- Date: Thu, 29 Jun 2017 16:32:25 -0700
- Subject: [PATCH 7/8] Create psuedo sections for FreeBSD NT_PTLWPINFO core notes.
- Authentication-results: sourceware.org; auth=none
- References: <20170629233226.20155-1-jhb@FreeBSD.org>
bfd/ChangeLog:
* elf.c (elfcore_grok_freebsd_note): Handle NT_FREEBSD_PTLWPINFO.
---
bfd/ChangeLog | 4 ++++
bfd/elf.c | 4 ++++
2 files changed, 8 insertions(+)
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 5177bc749d..7001b8624d 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,7 @@
+2017-06-28 John Baldwin <jhb@FreeBSD.org>
+
+ * elf.c (elfcore_grok_freebsd_note): Handle NT_FREEBSD_PTLWPINFO.
+
2017-06-19 Nick Clifton <nickc@redhat.com>
PR binutils/21618
diff --git a/bfd/elf.c b/bfd/elf.c
index fb106e9449..cb7bedd66c 100644
--- a/bfd/elf.c
+++ b/bfd/elf.c
@@ -9946,6 +9946,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;
}
--
2.11.0