9dd6223fbc
ok sthen@
16 lines
516 B
Plaintext
16 lines
516 B
Plaintext
$OpenBSD: patch-bfd_elf_c,v 1.1 2012/03/03 19:22:42 pascal Exp $
|
|
--- bfd/elf.c.orig Tue Dec 6 15:09:09 2011
|
|
+++ bfd/elf.c Wed Feb 29 00:06:19 2012
|
|
@@ -8641,6 +8641,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);
|
|
|