aboutsummaryrefslogtreecommitdiff
path: root/bfd
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
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')
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/elf.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 950890c..feec9c6 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2003-11-27 Mark Kettenis <kettenis@gnu.org>
+
+ * elf.c (elfcore_grok_netbsd_procinfo): Make a pseudosection out
+ of the note.
+
2003-11-26 Daniel Jacobowitz <drow@mvista.com>
Richard Sandiford <rsandifo@redhat.com>
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