From: Aurelien Jarno Date: Mon, 28 Sep 2009 11:39:08 +0000 (+0200) Subject: target-ppc: log instructions start in TCG code X-Git-Tag: v0.12.0-rc0~1000 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=731c54f86988d3f28268f184fabfe9b2a32fb5d3;p=thirdparty%2Fqemu.git target-ppc: log instructions start in TCG code Signed-off-by: Aurelien Jarno --- diff --git a/target-ppc/translate.c b/target-ppc/translate.c index 8844ad2751f..d4e81ce89ba 100644 --- a/target-ppc/translate.c +++ b/target-ppc/translate.c @@ -9032,6 +9032,8 @@ static inline void gen_intermediate_code_internal(CPUState *env, LOG_DISAS("translate opcode %08x (%02x %02x %02x) (%s)\n", ctx.opcode, opc1(ctx.opcode), opc2(ctx.opcode), opc3(ctx.opcode), little_endian ? "little" : "big"); + if (unlikely(qemu_loglevel_mask(CPU_LOG_TB_OP))) + tcg_gen_debug_insn_start(ctx.nip); ctx.nip += 4; table = env->opcodes; num_insns++;