i386bsd_core_osabi_sniffer for bfd_arch_i386 instead of
bfd_arch_unknown. Adjust comment.
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.
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);
}