aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2002-09-17 22:58:01 +0000
committerMichael Snyder <msnyder@vmware.com>2002-09-17 22:58:01 +0000
commitc7e701b54b57f27cf28b768ec141da9341d6c04d (patch)
tree792b118033719170ebf62f219485aefc785feae4 /gdb
parent20bcf01c7a5c7ef1d08eb640b4ec3135dd8dffc8 (diff)
downloadgdb-c7e701b54b57f27cf28b768ec141da9341d6c04d.zip
gdb-c7e701b54b57f27cf28b768ec141da9341d6c04d.tar.gz
gdb-c7e701b54b57f27cf28b768ec141da9341d6c04d.tar.bz2
2002-09-17 Michael Snyder <msnyder@redhat.com>
* mips-stub.c (restore_and_return): Postpone restoring of PSW. RTE will take care of it.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/m32r-stub.c3
2 files changed, 6 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index f951d80..8a7e668 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2002-09-17 Michael Snyder <msnyder@redhat.com>
+
+ * mips-stub.c (restore_and_return): Postpone restoring of PSW.
+ RTE will take care of it.
+
2002-09-17 Andrew Cagney <ac131313@redhat.com>
* arch-utils.c (legacy_virtual_frame_pointer): If FP_REGNUM is
diff --git a/gdb/m32r-stub.c b/gdb/m32r-stub.c
index cb95626..a691a65 100644
--- a/gdb/m32r-stub.c
+++ b/gdb/m32r-stub.c
@@ -1288,8 +1288,7 @@ restore_and_return:
ld r13, @r0+ ; restore r13
ld r14, @r0+ ; restore r14
ld r15, @r0+ ; restore r15
- ld r1, @r0+ ; restore cr0 == PSW
- mvtc r1, cr0
+ addi r0, #4 ; don't restore PSW (rte will do it)
ld r1, @r0+ ; restore cr1 == CBR (no-op, because it's read only)
mvtc r1, cr1
ld r1, @r0+ ; restore cr2 == SPI