mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-28 14:30:48 +00:00
* osabi.c (generic_elf_osabi_sniff_abi_tag_sections): Use
.note.netbsdcore.procinfo section to recognize NetBSD core files.
This commit is contained in:
parent
7720ba9f5c
commit
597684c51b
@ -1,3 +1,8 @@
|
||||
2003-11-27 Mark Kettenis <kettenis@gnu.org>
|
||||
|
||||
* osabi.c (generic_elf_osabi_sniff_abi_tag_sections): Use
|
||||
.note.netbsdcore.procinfo section to recognize NetBSD core files.
|
||||
|
||||
2003-11-26 Michael Chastain <mec.gnu@mindspring.com>
|
||||
|
||||
* cp-abi.c: Update copyright years.
|
||||
|
@ -462,6 +462,13 @@ generic_elf_osabi_sniff_abi_tag_sections (bfd *abfd, asection *sect, void *obj)
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
/* .note.netbsdcore.procinfo notes, used by NetBSD. */
|
||||
if (strcmp (name, ".note.netbsdcore.procinfo") == 0 && sectsize > 0)
|
||||
{
|
||||
*os_ident_ptr = GDB_OSABI_NETBSD_ELF;
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
static enum gdb_osabi
|
||||
|
Loading…
Reference in New Issue
Block a user