target-ppc: Fix build for PPC_DEBUG_DISAS
In r5949 / 76db3ba44e
(target-ppc: memory
load/store rework) variable little_endian was replaced with ctx.le_mode.
Update the debug code.
Signed-off-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
This commit is contained in:
parent
cca48a93a9
commit
476b6d1619
@ -9689,7 +9689,7 @@ static inline void gen_intermediate_code_internal(CPUPPCState *env,
|
|||||||
}
|
}
|
||||||
LOG_DISAS("translate opcode %08x (%02x %02x %02x) (%s)\n",
|
LOG_DISAS("translate opcode %08x (%02x %02x %02x) (%s)\n",
|
||||||
ctx.opcode, opc1(ctx.opcode), opc2(ctx.opcode),
|
ctx.opcode, opc1(ctx.opcode), opc2(ctx.opcode),
|
||||||
opc3(ctx.opcode), little_endian ? "little" : "big");
|
opc3(ctx.opcode), ctx.le_mode ? "little" : "big");
|
||||||
if (unlikely(qemu_loglevel_mask(CPU_LOG_TB_OP | CPU_LOG_TB_OP_OPT))) {
|
if (unlikely(qemu_loglevel_mask(CPU_LOG_TB_OP | CPU_LOG_TB_OP_OPT))) {
|
||||||
tcg_gen_debug_insn_start(ctx.nip);
|
tcg_gen_debug_insn_start(ctx.nip);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user