diff options
author | Michael Meissner <gnu@the-meissners.org> | 1996-09-09 20:45:33 +0000 |
---|---|---|
committer | Michael Meissner <gnu@the-meissners.org> | 1996-09-09 20:45:33 +0000 |
commit | 308f64d3ac2fe556f4f2aee0fbc4e3c8af24f9f3 (patch) | |
tree | ac8534d04e8ff9870a536eb1597421e49d1751cd /sim/d10v | |
parent | 60fc5b72702bbae4431f6f7b245e586f5fc542be (diff) | |
download | gdb-308f64d3ac2fe556f4f2aee0fbc4e3c8af24f9f3.zip gdb-308f64d3ac2fe556f4f2aee0fbc4e3c8af24f9f3.tar.gz gdb-308f64d3ac2fe556f4f2aee0fbc4e3c8af24f9f3.tar.bz2 |
Fix ld2w tracing
Diffstat (limited to 'sim/d10v')
-rw-r--r-- | sim/d10v/ChangeLog | 2 | ||||
-rw-r--r-- | sim/d10v/simops.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/sim/d10v/ChangeLog b/sim/d10v/ChangeLog index 6ca3da7..e597684 100644 --- a/sim/d10v/ChangeLog +++ b/sim/d10v/ChangeLog @@ -7,6 +7,8 @@ Mon Sep 9 13:27:26 1996 Michael Meissner <meissner@tiktok.cygnus.com> (OP_4E09): Make cpfg properly trace the input flags. (op_types): Add OP_FLAG_OUTPUT. (trace_{input,output}): Support OP_FLAG_OUTPUT. + (OP_31000000): This ld2w varient is a 16-bit memory reference, not + an 8-bit memory reference instruction for tracing purposes. Fri Sep 6 17:56:17 1996 Martin M. Hunt <hunt@pizza.cygnus.com> diff --git a/sim/d10v/simops.c b/sim/d10v/simops.c index 8618b4f..1af4e09 100644 --- a/sim/d10v/simops.c +++ b/sim/d10v/simops.c @@ -1068,7 +1068,7 @@ OP_6000 () void OP_31000000 () { - trace_input ("ld2w", OP_REG_OUTPUT, OP_MEMREF, OP_VOID); + trace_input ("ld2w", OP_REG_OUTPUT, OP_MEMREF2, OP_VOID); State.regs[OP[0]] = RW (OP[1] + State.regs[OP[2]]); State.regs[OP[0]+1] = RW (OP[1] + State.regs[OP[2]] + 2); trace_output (OP_DREG); |