]> git.proxmox.com Git - qemu.git/commitdiff
target-ppc: log instructions start in TCG code
authorAurelien Jarno <aurelien@aurel32.net>
Mon, 28 Sep 2009 11:39:08 +0000 (13:39 +0200)
committerAurelien Jarno <aurelien@aurel32.net>
Mon, 28 Sep 2009 11:40:12 +0000 (13:40 +0200)
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
target-ppc/translate.c

index 8844ad2751f57c4681ba83df6e7707764bfa627f..d4e81ce89ba608cfba5870f794b1e2d65a7c65e7 100644 (file)
@@ -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++;