diff options
author | Mark Kettenis <kettenis@gnu.org> | 2004-04-18 22:58:06 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2004-04-18 22:58:06 +0000 |
commit | adf93a2fd0df7564be34bbbfedd14b87bbc02be1 (patch) | |
tree | fe9d1de7abf26f52ce9b2202edc43532ef13e6ee /gdb/sparcnbsd-tdep.c | |
parent | 0b60d5d32387fc262067efb6ebb942372b6d9ba8 (diff) | |
download | gdb-adf93a2fd0df7564be34bbbfedd14b87bbc02be1.zip gdb-adf93a2fd0df7564be34bbbfedd14b87bbc02be1.tar.gz gdb-adf93a2fd0df7564be34bbbfedd14b87bbc02be1.tar.bz2 |
* sparcnbsd-tdep.c (_initialize_sparnbsd_tdep): Specify
architecture when registering sparcnbsd_core_osabi_sniffer.
Adjust comment.
Diffstat (limited to 'gdb/sparcnbsd-tdep.c')
-rw-r--r-- | gdb/sparcnbsd-tdep.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gdb/sparcnbsd-tdep.c b/gdb/sparcnbsd-tdep.c index 716d025..43a8e9d 100644 --- a/gdb/sparcnbsd-tdep.c +++ b/gdb/sparcnbsd-tdep.c @@ -345,9 +345,8 @@ _initialize_sparnbsd_tdep (void) gdbarch_register_osabi_sniffer (bfd_arch_sparc, bfd_target_aout_flavour, sparcnbsd_aout_osabi_sniffer); - /* BFD doesn't set the architecture for NetBSD style a.out core - files. */ - gdbarch_register_osabi_sniffer (bfd_arch_unknown, bfd_target_unknown_flavour, + /* BFD doesn't set a flavour for NetBSD style a.out core files. */ + gdbarch_register_osabi_sniffer (bfd_arch_sparc, bfd_target_unknown_flavour, sparcnbsd_core_osabi_sniffer); gdbarch_register_osabi (bfd_arch_sparc, 0, GDB_OSABI_NETBSD_AOUT, |