2002-08-18 Andrew Cagney <ac131313@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Sun, 18 Aug 2002 17:59:57 +0000 (17:59 +0000)
committerAndrew Cagney <cagney@redhat.com>
Sun, 18 Aug 2002 17:59:57 +0000 (17:59 +0000)
* osabi.c (gdbarch_init_osabi): Don't complain about an unknown
ABI.

gdb/ChangeLog
gdb/osabi.c

index dce4de0..0c3f636 100644 (file)
@@ -1,3 +1,8 @@
+2002-08-18  Andrew Cagney  <ac131313@redhat.com>
+
+       * osabi.c (gdbarch_init_osabi): Don't complain about an unknown
+       ABI.
+
 2002-08-18  Mark Kettenis  <kettenis@gnu.org>
 
        * i386b-nat.c [FETCH_INFERIOR_REGISTERS]: Remove dead code.
index 580c7e1..83eb767 100644 (file)
@@ -232,13 +232,8 @@ gdbarch_init_osabi (struct gdbarch_info info, struct gdbarch *gdbarch,
 
   if (osabi == GDB_OSABI_UNKNOWN)
     {
-      /* Don't complain about not knowing the OS ABI if we don't
-        have an inferior.  */
-      if (info.abfd)
-       fprintf_filtered
-         (gdb_stderr, "GDB doesn't recognize the OS ABI of the inferior.  "
-          "Attempting to continue with the default %s settings",
-          bfd_printable_arch_mach (arch_info->arch, arch_info->mach));
+      /* Don't complain about an unknown OSABI.  Assume the user knows
+         what they are doing.  */
       return;
     }