diff options
author | Mark Kettenis <kettenis@gnu.org> | 2004-03-05 21:01:56 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2004-03-05 21:01:56 +0000 |
commit | 8b0c36339058312b0cc171866c5a1ee08fb67f46 (patch) | |
tree | 7d738d401601a18618412c4d5dfee657ab99d38e /gdb/i386bsd-tdep.c | |
parent | f2e7c15d990b428a29fe0183ae810f29e722d21a (diff) | |
download | fsf-binutils-gdb-8b0c36339058312b0cc171866c5a1ee08fb67f46.zip fsf-binutils-gdb-8b0c36339058312b0cc171866c5a1ee08fb67f46.tar.gz fsf-binutils-gdb-8b0c36339058312b0cc171866c5a1ee08fb67f46.tar.bz2 |
* i386bsd-tdep.c (_initialize_i386bsd_tdep): Register
i386bsd_core_osabi_sniffer for bfd_arch_i386 instead of
bfd_arch_unknown. Adjust comment.
Diffstat (limited to 'gdb/i386bsd-tdep.c')
-rw-r--r-- | gdb/i386bsd-tdep.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gdb/i386bsd-tdep.c b/gdb/i386bsd-tdep.c index 9276c32..c23acb5 100644 --- a/gdb/i386bsd-tdep.c +++ b/gdb/i386bsd-tdep.c @@ -163,8 +163,7 @@ _initialize_i386bsd_tdep (void) gdbarch_register_osabi_sniffer (bfd_arch_i386, bfd_target_aout_flavour, i386bsd_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_i386, bfd_target_unknown_flavour, i386bsd_core_osabi_sniffer); } |