aboutsummaryrefslogtreecommitdiff
path: root/sim/h8300/compile.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2004-06-10 20:22:17 +0000
committerMichael Snyder <msnyder@vmware.com>2004-06-10 20:22:17 +0000
commitd6fd015d6e56f31566d6c754a103693912abcb5c (patch)
treee208a314985d8880f1749b2e40404ac827ec06d4 /sim/h8300/compile.c
parent0b67b468324a67e77353fb443484d278fc9c1959 (diff)
downloadgdb-d6fd015d6e56f31566d6c754a103693912abcb5c.zip
gdb-d6fd015d6e56f31566d6c754a103693912abcb5c.tar.gz
gdb-d6fd015d6e56f31566d6c754a103693912abcb5c.tar.bz2
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/compile.c')
-rw-r--r--sim/h8300/compile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/h8300/compile.c b/sim/h8300/compile.c
index ec5f974..cd097d6 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;