* i386bsd-tdep.c (_initialize_i386bsd_tdep): Register
authorMark Kettenis <kettenis@gnu.org>
Fri, 5 Mar 2004 21:01:56 +0000 (21:01 +0000)
committerMark Kettenis <kettenis@gnu.org>
Fri, 5 Mar 2004 21:01:56 +0000 (21:01 +0000)
i386bsd_core_osabi_sniffer for bfd_arch_i386 instead of
bfd_arch_unknown.  Adjust comment.

gdb/ChangeLog
gdb/i386bsd-tdep.c

index 4ff4dcb6d797208bdc6ddf0b983721839ef29247..2b7a29847751e5b9889e02a1f816fa3ff8140139 100644 (file)
@@ -1,5 +1,9 @@
 2004-03-05  Mark Kettenis  <kettenis@gnu.org>
 
+       * i386bsd-tdep.c (_initialize_i386bsd_tdep): Register
+       i386bsd_core_osabi_sniffer for bfd_arch_i386 instead of
+       bfd_arch_unknown.  Adjust comment.
+
        * i386-nat.c: Fix typo in comment.  Re-introduce paranoiac.
        * i386obsd-tdep.c: Correct spelling in comment.
        * i386nbsd-tdep.c: Correct spelling in comment.
index 9276c32b3f78325db4d7a69028ec24c4c229c70d..c23acb53acad79ac0f5f8ed936db3910a97566af 100644 (file)
@@ -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);
 }