From 56824cb3171b00a22649dfc27f9b826e8adffd06 Mon Sep 17 00:00:00 2001 From: Aurelien Jarno Date: Mon, 28 Sep 2009 13:03:30 +0200 Subject: [PATCH] target-mips: log instructions start in TCG code Signed-off-by: Aurelien Jarno --- target-mips/translate.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/target-mips/translate.c b/target-mips/translate.c index aabb69c..42a5753 100644 --- a/target-mips/translate.c +++ b/target-mips/translate.c @@ -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; -- 2.7.4