aboutsummaryrefslogtreecommitdiff
path: root/sim/mn10300
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2000-04-25 09:48:40 +0000
committerAlexandre Oliva <aoliva@redhat.com>2000-04-25 09:48:40 +0000
commitbfa8561f01cf5dcfe9e2d6110c37da70b1ac19c4 (patch)
tree0e355571286d641951eb6b9e8fee8de4f6f479aa /sim/mn10300
parent3b0ec529f240d74205b50748054b276ca301aed7 (diff)
downloadgdb-bfa8561f01cf5dcfe9e2d6110c37da70b1ac19c4.zip
gdb-bfa8561f01cf5dcfe9e2d6110c37da70b1ac19c4.tar.gz
gdb-bfa8561f01cf5dcfe9e2d6110c37da70b1ac19c4.tar.bz2
* am33.igen (inc4 Rn): Use genericAdd so as to modify flags.
Diffstat (limited to 'sim/mn10300')
-rw-r--r--sim/mn10300/ChangeLog4
-rw-r--r--sim/mn10300/am33.igen2
2 files changed, 5 insertions, 1 deletions
diff --git a/sim/mn10300/ChangeLog b/sim/mn10300/ChangeLog
index bd49874..f18c31f 100644
--- a/sim/mn10300/ChangeLog
+++ b/sim/mn10300/ChangeLog
@@ -1,3 +1,7 @@
+2000-04-25 Alexandre Oliva <aoliva@cygnus.com>
+
+ * am33.igen (inc4 Rn): Use genericAdd so as to modify flags.
+
2000-04-09 Alexandre Oliva <aoliva@cygnus.com>
* am33.igen: Make SP-relative offsets unsigned. Add `*am33' for
diff --git a/sim/mn10300/am33.igen b/sim/mn10300/am33.igen
index c80d91d..8465c10 100644
--- a/sim/mn10300/am33.igen
+++ b/sim/mn10300/am33.igen
@@ -584,7 +584,7 @@
PC = cia;
dstreg = translate_rreg (SD_, RN0);
- State.regs[dstreg] += 4;
+ genericAdd (4, dstreg);
}
// 1111 1001 1101 1000 Rm Rn; cmp Rm,Rn