* i386bsd-tdep.c (_initialize_i386bsd_tdep): Register

i386bsd_core_osabi_sniffer for bfd_arch_i386 instead of
bfd_arch_unknown.  Adjust comment.
This commit is contained in:
Mark Kettenis 2004-03-05 21:01:56 +00:00
parent f2e7c15d99
commit 8b0c363390
2 changed files with 6 additions and 3 deletions

View 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.

View 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);
}