aboutsummaryrefslogtreecommitdiff
path: root/gdb/rs6k-opcode.h
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1991-11-13 04:00:22 +0000
committerJohn Gilmore <gnu@cygnus>1991-11-13 04:00:22 +0000
commitcd56d3143630a9e7e005cae3ef19c9632325d6be (patch)
tree768dc3c153ae76a558b3f01edfbfd17d8dd9d2ac /gdb/rs6k-opcode.h
parent19230be6ac09e67853881bee59ad0c25a63f8edf (diff)
downloadgdb-cd56d3143630a9e7e005cae3ef19c9632325d6be.zip
gdb-cd56d3143630a9e7e005cae3ef19c9632325d6be.tar.gz
gdb-cd56d3143630a9e7e005cae3ef19c9632325d6be.tar.bz2
Forgot opcode files.
Diffstat (limited to 'gdb/rs6k-opcode.h')
-rwxr-xr-xgdb/rs6k-opcode.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/gdb/rs6k-opcode.h b/gdb/rs6k-opcode.h
new file mode 100755
index 0000000..db02a9e
--- /dev/null
+++ b/gdb/rs6k-opcode.h
@@ -0,0 +1,19 @@
+
+typedef int (*FUN)();
+
+typedef struct {
+ char *operator; /* opcode name */
+ char *opr_ext; /* opcode name ext. */
+ char *format; /* opcode format */
+ char p_opcode; /* primary opcode */
+ int e_opcode; /* extended opcode */
+ char oprnd_format [6]; /* operand format */
+} OPCODE;
+
+
+OPCODE rs6k_ops [] = {
+
+#include "rs6k-opcode.def"
+};
+
+#define NOPCODES (sizeof (rs6k_ops) / sizeof (OPCODE))