* config/tc-ppc.c (ppc_frob_symbol): Formatting, warning fix.
[deliverable/binutils-gdb.git] / gdb / sh-tdep.h
index 81bb39d25a60f9a03f03e32fb658eba668cc5ce4..cd7f35a8324ba9766ff183154f02bb1db7463995 100644 (file)
 #ifndef SH_TDEP_H
 #define SH_TDEP_H
 
+#include "osabi.h"
+
 /* Contributed by Steve Chamberlain sac@cygnus.com */
 
 /* Information that is dependent on the processor variant. */
 
-/* ABI variants that we know about.  If you add to this enum, please
-   update the table of names in sh-tdep.c.  */
-enum sh_osabi
-{
-  SH_OSABI_UNKNOWN = 0,
-  SH_OSABI_LINUX,
-  SH_OSABI_NETBSD_ELF,
-
-  SH_OSABI_INVALID     /* Keep this last.  */
-};
-
 enum sh_abi
   {
     SH_ABI_UNKNOWN,
@@ -98,8 +89,7 @@ struct gdbarch_tdep
     int ARGLAST_REGNUM;
     int FLOAT_ARGLAST_REGNUM;
     int RETURN_REGNUM;
-    enum sh_osabi sh_osabi;    /* OS/ABI of the inferior */
-    const char *osabi_name;    /* Name of the above */
+    enum gdb_osabi osabi;      /* OS/ABI of the inferior */
     enum sh_abi sh_abi;
   };
 
This page took 0.024097 seconds and 4 git commands to generate.