aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2001-03-22 16:09:20 +0000
committerHans-Peter Nilsson <hp@axis.com>2001-03-22 16:09:20 +0000
commit7ccb52381a79f380b63b61a91eec6e17becea2d9 (patch)
tree05e612a7061e37316b25fb9993abe5f370e07cbb
parenta88e356aabe2f4c08d3b4a2c0d586fb9269aea21 (diff)
downloadgdb-7ccb52381a79f380b63b61a91eec6e17becea2d9.zip
gdb-7ccb52381a79f380b63b61a91eec6e17becea2d9.tar.gz
gdb-7ccb52381a79f380b63b61a91eec6e17becea2d9.tar.bz2
* cris.h (ADD_PC_INCR_OPCODE): New macro.
-rw-r--r--include/opcode/ChangeLog4
-rw-r--r--include/opcode/cris.h2
2 files changed, 6 insertions, 0 deletions
diff --git a/include/opcode/ChangeLog b/include/opcode/ChangeLog
index d0ac44b..7a949af 100644
--- a/include/opcode/ChangeLog
+++ b/include/opcode/ChangeLog
@@ -1,3 +1,7 @@
+2001-03-22 Hans-Peter Nilsson <hp@axis.com>
+
+ * cris.h (ADD_PC_INCR_OPCODE): New macro.
+
2001-03-21 Kazu Hirata <kazu@hxi.com>
* h8300.h: Fix formatting.
diff --git a/include/opcode/cris.h b/include/opcode/cris.h
index be02d4a..9276340 100644
--- a/include/opcode/cris.h
+++ b/include/opcode/cris.h
@@ -160,6 +160,8 @@ extern const char *const cris_cc_strings[];
#define JUMP_INDIR_Z_BITS (0xf2c0)
#define JUMP_PC_INCR_OPCODE \
(JUMP_INDIR_OPCODE + AUTOINCR_BIT * 0x0100 + REG_PC)
+#define ADD_PC_INCR_OPCODE \
+ (0xfa00 + (2 << 4) + AUTOINCR_BIT * 0x0100 + REG_PC)
/* Nop. */
#define NOP_OPCODE (0x050F)