16 lines
516 B
Plaintext
16 lines
516 B
Plaintext
$OpenBSD: patch-bfd_elf_c,v 1.2 2012/08/25 19:15:44 pascal Exp $
|
|
--- bfd/elf.c.orig Wed Jul 4 02:29:51 2012
|
|
+++ bfd/elf.c Sun Aug 19 14:37:28 2012
|
|
@@ -8747,6 +8747,11 @@ elfcore_grok_openbsd_procinfo (bfd *abfd, Elf_Internal
|
|
static bfd_boolean
|
|
elfcore_grok_openbsd_note (bfd *abfd, Elf_Internal_Note *note)
|
|
{
|
|
+ int lwp;
|
|
+
|
|
+ if (elfcore_netbsd_get_lwpid (note, &lwp))
|
|
+ elf_tdata (abfd)->core_lwpid = lwp;
|
|
+
|
|
if (note->type == NT_OPENBSD_PROCINFO)
|
|
return elfcore_grok_openbsd_procinfo (abfd, note);
|
|
|