aboutsummaryrefslogtreecommitdiff
path: root/opcodes/fr30-opc.h
diff options
context:
space:
mode:
authorPatrick Macdonald <patrickm@redhat.com>2001-03-20 20:56:34 +0000
committerPatrick Macdonald <patrickm@redhat.com>2001-03-20 20:56:34 +0000
commit27fca2d871b27e82e9e461bbad4fefdb45910e05 (patch)
tree5a1c80dd3fdc7e39863be18ff714d60297d8b987 /opcodes/fr30-opc.h
parentcc5ce0523570ebca894a56c35a88c0696f32c8c3 (diff)
downloadgdb-27fca2d871b27e82e9e461bbad4fefdb45910e05.zip
gdb-27fca2d871b27e82e9e461bbad4fefdb45910e05.tar.gz
gdb-27fca2d871b27e82e9e461bbad4fefdb45910e05.tar.bz2
Add support for cgen machine determination.
* cgen-dis.in (print_insn_@arch@): Add support for target machine determination via CGEN_COMPUTE_MACH. * fr30-desc.c: Regenerate. * fr30-dis.c: Regenerate. * fr30-opc.h: Regenerate. * m32r-desc.c: Regenerate. * m32r-dis.c: Regenerate. * m32r-opc.h: Regenerate. * m32r-opinst.c: Regenerate.
Diffstat (limited to 'opcodes/fr30-opc.h')
-rw-r--r--opcodes/fr30-opc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/opcodes/fr30-opc.h b/opcodes/fr30-opc.h
index 33d3094..623501d 100644
--- a/opcodes/fr30-opc.h
+++ b/opcodes/fr30-opc.h
@@ -77,14 +77,14 @@ typedef enum cgen_insn_type {
, FR30_INSN_ORCCR, FR30_INSN_STILM, FR30_INSN_ADDSP, FR30_INSN_EXTSB
, FR30_INSN_EXTUB, FR30_INSN_EXTSH, FR30_INSN_EXTUH, FR30_INSN_LDM0
, FR30_INSN_LDM1, FR30_INSN_STM0, FR30_INSN_STM1, FR30_INSN_ENTER
- , FR30_INSN_LEAVE, FR30_INSN_XCHB, FR30_INSN_MAX
+ , FR30_INSN_LEAVE, FR30_INSN_XCHB
} CGEN_INSN_TYPE;
/* Index of `invalid' insn place holder. */
#define CGEN_INSN_INVALID FR30_INSN_INVALID
/* Total number of insns in table. */
-#define MAX_INSNS ((int) FR30_INSN_MAX)
+#define MAX_INSNS ((int) FR30_INSN_XCHB + 1)
/* This struct records data prior to insertion or after extraction. */
struct cgen_fields