* config/tc-fr30.c (md_parse_option <c,arg>): Add ATTRIBUTE_UNUSED.
[deliverable/binutils-gdb.git] / gdb / osabi.c
index c152cb4464fc0bae62f9e6909d55cf43906e532a..06d9c908bcbc84ee527d7098fc5a83305d035eeb 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,11 @@ static const char * const gdb_osabi_names[] =
   "Windows CE",
   "DJGPP",
   "NetWare",
+  "Irix",
   "LynxOS",
+  "Interix",
+  "HP/UX ELF",
+  "HP/UX SOM",
 
   "ARM EABI v1",
   "ARM EABI v2",
@@ -231,13 +236,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;
     }
 
@@ -406,6 +406,10 @@ generic_elf_osabi_sniffer (bfd *abfd)
     case ELFOSABI_SOLARIS:
       osabi = GDB_OSABI_SOLARIS;
       break;
+
+    case ELFOSABI_HPUX:
+      osabi = GDB_OSABI_HPUX_ELF;
+      break;
     }
 
   if (osabi == GDB_OSABI_UNKNOWN)
This page took 0.024314 seconds and 4 git commands to generate.