summaryrefslogtreecommitdiff
path: root/sim/h8300
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@specifix.com>2004-06-10 20:22:17 +0000
committerMichael Snyder <msnyder@specifix.com>2004-06-10 20:22:17 +0000
commit8d38e01d848862caf207db36bf606c1346789de7 (patch)
tree3dbb4c3ff5b58a4d05e49f9cc17d39b5212d4071 /sim/h8300
parentadb3529b08e1da840e067ca236154e6bb2e998b1 (diff)
downloadgdb-8d38e01d848862caf207db36bf606c1346789de7.tar.gz
2004-06-10 Michael Snyder <msnyder@redhat.com>
Patch submitted by Nitin Yewale <NitinY@KPITCummins.com>. * compile.c (sim_resume): Corrected ANDC operation on EXR for H8S.
Diffstat (limited to 'sim/h8300')
-rw-r--r--sim/h8300/ChangeLog4
-rw-r--r--sim/h8300/compile.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/sim/h8300/ChangeLog b/sim/h8300/ChangeLog
index 9938196d7b6..100a303c239 100644
--- a/sim/h8300/ChangeLog
+++ b/sim/h8300/ChangeLog
@@ -1,3 +1,7 @@
+2004-06-10 Michael Snyder <msnyder@redhat.com>
+ Patch submitted by Nitin Yewale <NitinY@KPITCummins.com>.
+ * compile.c (sim_resume): Corrected ANDC operation on EXR for H8S.
+
2004-01-05 Michael Snyder <msnyder@redhat.com>
* compile.c (sim_load): Don't pass a type to bfd_openr.
diff --git a/sim/h8300/compile.c b/sim/h8300/compile.c
index ec5f974c7b3..cd097d68a98 100644
--- a/sim/h8300/compile.c
+++ b/sim/h8300/compile.c
@@ -2566,7 +2566,7 @@ sim_resume (SIM_DESC sd, int step, int siggnal)
{
if (h8300smode)
h8_set_exr (sd, (trace << 7) | intMask);
- res = h8_get_exr (sd);
+ rd = h8_get_exr (sd);
}
else
goto illegal;