From: Michael Meissner Date: Wed, 16 Oct 1996 17:52:31 +0000 (+0000) Subject: Fix tracing of accumulators X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=11ec4de6695cf9144016b26b6ca193c6bcfa6504;p=binutils-gdb.git Fix tracing of accumulators --- diff --git a/sim/d10v/ChangeLog b/sim/d10v/ChangeLog index 555604425ac..d82761ce936 100644 --- a/sim/d10v/ChangeLog +++ b/sim/d10v/ChangeLog @@ -1,3 +1,7 @@ +Wed Oct 16 13:50:06 1996 Michael Meissner + + * simops.c (OP_5F00): Correct tracing of accumulators. + Tue Oct 15 10:57:50 1996 Michael Meissner * simops.c (OP_5F00): Add support for getpid, kill system calls. diff --git a/sim/d10v/simops.c b/sim/d10v/simops.c index e547f9bcd32..50f62305a6a 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);