aboutsummaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>1998-01-20 10:38:29 +0000
committerDoug Evans <dje@google.com>1998-01-20 10:38:29 +0000
commitd4feafa692efbc9d35029abd87275de218cb8e68 (patch)
tree52b7fb5c0832a0fdc7a3c3faf2a1c285fda62653 /sim
parent462cfbc4eb1801c8d81ecff175242a1be8a9b820 (diff)
downloadgdb-d4feafa692efbc9d35029abd87275de218cb8e68.zip
gdb-d4feafa692efbc9d35029abd87275de218cb8e68.tar.gz
gdb-d4feafa692efbc9d35029abd87275de218cb8e68.tar.bz2
Regenerate.
Diffstat (limited to 'sim')
-rw-r--r--sim/m32r/arch.c3
-rw-r--r--sim/m32r/arch.h9
2 files changed, 9 insertions, 3 deletions
diff --git a/sim/m32r/arch.c b/sim/m32r/arch.c
index 431d500..39b9b96 100644
--- a/sim/m32r/arch.c
+++ b/sim/m32r/arch.c
@@ -26,6 +26,9 @@ with this program; if not, write to the Free Software Foundation, Inc.,
const MACH machs[] = {
{ "m32r", 32, 32, & m32r_models[0], & m32r_imp_properties },
+/* start-sanitize-m32rx */
+ { "m32rx", 32, 32, & m32rx_models[0], & m32rx_imp_properties },
+/* end-sanitize-m32rx */
{ 0 }
};
diff --git a/sim/m32r/arch.h b/sim/m32r/arch.h
index 562ecaa..42ccb8c 100644
--- a/sim/m32r/arch.h
+++ b/sim/m32r/arch.h
@@ -23,7 +23,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#ifndef M32R_ARCH_H
#define M32R_ARCH_H
-#define MAX_INSNS 128
+#define MAX_INSNS 166
#define TARGET_BIG_ENDIAN 1
@@ -32,6 +32,9 @@ with this program; if not, write to the Free Software Foundation, Inc.,
/* Macros to determine which cpus are supported. */
#define HAVE_CPU_M32R
+/* start-sanitize-m32rx */
+#define HAVE_CPU_M32RX
+/* end-sanitize-m32rx */
/* Enum declaration for mode types. */
typedef enum mode_type {
@@ -48,7 +51,7 @@ typedef enum mode_type {
/* Enum declaration for model types. */
typedef enum model_type {
- MODEL_M32R_D, MODEL_TEST, MODEL_MAX
+ MODEL_M32R_D, MODEL_TEST, MODEL_M32RX, MODEL_MAX
} MODEL_TYPE;
#define MAX_MODELS ((int) MODEL_MAX)
@@ -56,7 +59,7 @@ typedef enum model_type {
/* Enum declaration for unit types. */
typedef enum unit_type {
UNIT_NONE, UNIT_M32R_D_U_STORE, UNIT_M32R_D_U_LOAD, UNIT_M32R_D_U_EXEC,
- UNIT_TEST_U_EXEC, UNIT_MAX
+ UNIT_TEST_U_EXEC, UNIT_M32RX_U_EXEC, UNIT_MAX
} UNIT_TYPE;
#define MAX_UNITS (1)