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 dce4de0987663753ba70573f4abcb0e113921abb..0c3f636e2e8cf2488803ccba196ba9c793d586a5 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 580c7e19756cbb86faac98ac28672dbc836758f2..83eb767c0b731aa49739c3b0822b471b5cde472d 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;
     }