diff options
author | Michael Meissner <gnu@the-meissners.org> | 1996-10-16 17:52:31 +0000 |
---|---|---|
committer | Michael Meissner <gnu@the-meissners.org> | 1996-10-16 17:52:31 +0000 |
commit | 11ec4de6695cf9144016b26b6ca193c6bcfa6504 (patch) | |
tree | 9f8d1b0d4188048c1c3a0037278174881f91ab39 /sim/d10v | |
parent | 0f8e50bb76b183bfa1f63d44c7dd3061e9ef0824 (diff) | |
download | gdb-11ec4de6695cf9144016b26b6ca193c6bcfa6504.zip gdb-11ec4de6695cf9144016b26b6ca193c6bcfa6504.tar.gz gdb-11ec4de6695cf9144016b26b6ca193c6bcfa6504.tar.bz2 |
Fix tracing of accumulators
Diffstat (limited to 'sim/d10v')
-rw-r--r-- | sim/d10v/ChangeLog | 4 | ||||
-rw-r--r-- | sim/d10v/simops.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/sim/d10v/ChangeLog b/sim/d10v/ChangeLog index 5556044..d82761c 100644 --- a/sim/d10v/ChangeLog +++ b/sim/d10v/ChangeLog @@ -1,3 +1,7 @@ +Wed Oct 16 13:50:06 1996 Michael Meissner <meissner@tiktok.cygnus.com> + + * simops.c (OP_5F00): Correct tracing of accumulators. + Tue Oct 15 10:57:50 1996 Michael Meissner <meissner@tiktok.cygnus.com> * simops.c (OP_5F00): Add support for getpid, kill system calls. diff --git a/sim/d10v/simops.c b/sim/d10v/simops.c index e547f9b..50f6230 100644 --- a/sim/d10v/simops.c +++ b/sim/d10v/simops.c @@ -2595,8 +2595,8 @@ OP_5F00 () for (i = 0; i < 2; i++) (*d10v_callback->printf_filtered) (d10v_callback, " %.2x%.8lx", - ((int)(State.a[OP[i]] >> 32) & 0xff), - ((unsigned long)State.a[OP[i]]) & 0xffffffff); + ((int)(State.a[i] >> 32) & 0xff), + ((unsigned long)State.a[i]) & 0xffffffff); (*d10v_callback->printf_filtered) (d10v_callback, " %d %d %d\n", State.F0 != 0, State.F1 != 0, State.C != 0); |