aboutsummaryrefslogtreecommitdiff
path: root/sim/tic80
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>1997-05-09 00:21:13 +0000
committerAndrew Cagney <cagney@redhat.com>1997-05-09 00:21:13 +0000
commit9efd3f74128b8c6179269e366227db74c6b7d504 (patch)
tree1d2a1a17f84064d4075f35149967f05562fd049e /sim/tic80
parentc3cad878c97ee7804b95d498cb3890e64088b8a8 (diff)
downloadgdb-9efd3f74128b8c6179269e366227db74c6b7d504.zip
gdb-9efd3f74128b8c6179269e366227db74c6b7d504.tar.gz
gdb-9efd3f74128b8c6179269e366227db74c6b7d504.tar.bz2
Update CIA as well as NIA when a 64bit insn is encountered.
Diffstat (limited to 'sim/tic80')
-rw-r--r--sim/tic80/ChangeLog5
-rw-r--r--sim/tic80/alu.h1
2 files changed, 6 insertions, 0 deletions
diff --git a/sim/tic80/ChangeLog b/sim/tic80/ChangeLog
index b1f9d09..1b1a167 100644
--- a/sim/tic80/ChangeLog
+++ b/sim/tic80/ChangeLog
@@ -1,3 +1,8 @@
+Fri May 9 09:55:33 1997 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * alu.h (long_immediate): Adjust the CIA delay-pointer as well as
+ the NIA when a 64bit insn.
+
Thu May 8 11:57:47 1997 Michael Meissner <meissner@cygnus.com>
* insns (jsr,bsr): For non-allulled calls, set r31 so that the
diff --git a/sim/tic80/alu.h b/sim/tic80/alu.h
index 1bb4054..4300723 100644
--- a/sim/tic80/alu.h
+++ b/sim/tic80/alu.h
@@ -56,6 +56,7 @@ do { \
#define long_immediate(VARIABLE) \
unsigned_word VARIABLE = MEM (unsigned, nia.ip, 4); \
+ cia.dp += sizeof (instruction_word); \
nia.ip += sizeof (instruction_word); \
nia.dp += sizeof (instruction_word);