Fix PR gdb/778
[deliverable/binutils-gdb.git] / gdb / osabi.c
index c152cb4464fc0bae62f9e6909d55cf43906e532a..7caebf3d3c5118a29eef991fbf63ee82747148b8 100644 (file)
@@ -19,6 +19,7 @@
    Boston, MA 02111-1307, USA.  */
 
 #include "defs.h"
+#include "gdb_string.h"
 #include "osabi.h"
 
 #include "elf-bfd.h"
@@ -42,7 +43,9 @@ static const char * const gdb_osabi_names[] =
   "Windows CE",
   "DJGPP",
   "NetWare",
+  "Irix",
   "LynxOS",
+  "Interix",
 
   "ARM EABI v1",
   "ARM EABI v2",
@@ -231,13 +234,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;
     }
 
This page took 0.024108 seconds and 4 git commands to generate.