mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-29 06:50:32 +00:00
Fix ld2w tracing
This commit is contained in:
parent
60fc5b7270
commit
308f64d3ac
@ -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>
|
||||
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user