summaryrefslogtreecommitdiff
path: root/gdb/sh-tdep.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/sh-tdep.h')
-rw-r--r--gdb/sh-tdep.h16
1 files changed, 3 insertions, 13 deletions
diff --git a/gdb/sh-tdep.h b/gdb/sh-tdep.h
index 81bb39d25a6..cd7f35a8324 100644
--- a/gdb/sh-tdep.h
+++ b/gdb/sh-tdep.h
@@ -22,21 +22,12 @@
#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;
};