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

index aabb69c2df6c74d3de62170612e3c226bda13c8f..42a5753e27719c674e005cdeb76c24af88641716 100644 (file)
@@ -7660,6 +7660,10 @@ static void decode_opc (CPUState *env, DisasContext *ctx)
         gen_goto_tb(ctx, 1, ctx->pc + 4);
         gen_set_label(l1);
     }
+
+    if (unlikely(qemu_loglevel_mask(CPU_LOG_TB_OP)))
+        tcg_gen_debug_insn_start(ctx->pc);
+
     op = MASK_OP_MAJOR(ctx->opcode);
     rs = (ctx->opcode >> 21) & 0x1f;
     rt = (ctx->opcode >> 16) & 0x1f;