aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2003-11-27 12:28:35 +0000
committerMark Kettenis <kettenis@gnu.org>2003-11-27 12:28:35 +0000
commit7720ba9f5c9f26d6e37b265ea165bea5c992d0dd (patch)
tree1bdc6e00f6c4f00d8ced3eaa1d73650050b8f143 /bfd/elf.c
parent028f09bd7fce4f25e970a0e006f9241bb055f80b (diff)
downloadgdb-7720ba9f5c9f26d6e37b265ea165bea5c992d0dd.zip
gdb-7720ba9f5c9f26d6e37b265ea165bea5c992d0dd.tar.gz
gdb-7720ba9f5c9f26d6e37b265ea165bea5c992d0dd.tar.bz2
* elf.c (elfcore_grok_netbsd_procinfo): Make a pseudosection out
of the note.
Diffstat (limited to 'bfd/elf.c')
-rw-r--r--bfd/elf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/bfd/elf.c b/bfd/elf.c
index 31003d7..04b6894 100644
--- a/bfd/elf.c
+++ b/bfd/elf.c
@@ -6835,7 +6835,8 @@ elfcore_grok_netbsd_procinfo (bfd *abfd, Elf_Internal_Note *note)
elf_tdata (abfd)->core_command
= _bfd_elfcore_strndup (abfd, note->descdata + 0x7c, 31);
- return TRUE;
+ return elfcore_make_note_pseudosection (abfd, ".note.netbsdcore.procinfo",
+ note);
}
static bfd_boolean