aboutsummaryrefslogtreecommitdiff
path: root/sim/ppc
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-06-22 01:52:34 +0000
committerAndrew Cagney <cagney@redhat.com>2003-06-22 01:52:34 +0000
commit21f86aab13aed2e3e56612b580aa6063f0edf15f (patch)
treed9d190c40a39f51545a91b3245cf4678750dfbba /sim/ppc
parent0f2f1341dd1af92650259b2f5728deff496162d1 (diff)
downloadgdb-21f86aab13aed2e3e56612b580aa6063f0edf15f.zip
gdb-21f86aab13aed2e3e56612b580aa6063f0edf15f.tar.gz
gdb-21f86aab13aed2e3e56612b580aa6063f0edf15f.tar.bz2
2003-06-21 Andrew Cagney <cagney@redhat.com>
* ppc-instructions: Add missing +8 line. Found by blofeldus at yahoo.com.
Diffstat (limited to 'sim/ppc')
-rw-r--r--sim/ppc/ChangeLog11
-rw-r--r--sim/ppc/ppc-instructions1
2 files changed, 9 insertions, 3 deletions
diff --git a/sim/ppc/ChangeLog b/sim/ppc/ChangeLog
index 82844f2..62920ac 100644
--- a/sim/ppc/ChangeLog
+++ b/sim/ppc/ChangeLog
@@ -1,8 +1,13 @@
2003-06-21 Andrew Cagney <cagney@redhat.com>
- From Ian Lance Taylor <ian@airs.com>:
- * hw_nvram.c (hw_nvram_init_address): Correct call to memset--swap
- second and third arguments.
+ * ppc-instructions: Add missing +8 line. Found by blofeldus at
+ yahoo.com.
+
+2003-06-21 Andrew Cagney <cagney@redhat.com>
+
+ From Ian Lance Taylor <ian@airs.com>: * hw_nvram.c
+ (hw_nvram_init_address): Correct call to memset--swap second and
+ third arguments.
2003-06-21 Andrew Cagney <cagney@redhat.com>
diff --git a/sim/ppc/ppc-instructions b/sim/ppc/ppc-instructions
index d088610..56c03ae 100644
--- a/sim/ppc/ppc-instructions
+++ b/sim/ppc/ppc-instructions
@@ -2303,6 +2303,7 @@ void::function::invalid_zero_divide_operation:cpu *processor, unsigned_word cia,
GPR(r) = 0;
}
GPR(r) |= INSERTED(MEM(unsigned, EA, 1), i, i+7);
+ i = i + 8;
if (i == 64) i = 32;
EA = EA + 1;
n = n - 1;