aboutsummaryrefslogtreecommitdiff
path: root/target-alpha/translate.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2009-12-19 15:17:14 -0800
committerAurelien Jarno <aurelien@aurel32.net>2009-12-21 11:29:50 +0100
commitc4b3be39661d158b3480ad6982dfdee36ec67c7a (patch)
tree4787fdb15d2a81ef20b36d6fc0be3c490f00efa5 /target-alpha/translate.c
parenta3b3912ad0ed21c7d13f4bec84050f38d4f207da (diff)
target-alpha: Emit tcg debug_insn_start.
Signed-off-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'target-alpha/translate.c')
-rw-r--r--target-alpha/translate.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/target-alpha/translate.c b/target-alpha/translate.c
index 45cb6976d8..5e0647b034 100644
--- a/target-alpha/translate.c
+++ b/target-alpha/translate.c
@@ -2627,6 +2627,11 @@ static inline void gen_intermediate_code_internal(CPUState *env,
gen_io_start();
insn = ldl_code(ctx.pc);
num_insns++;
+
+ if (unlikely(qemu_loglevel_mask(CPU_LOG_TB_OP))) {
+ tcg_gen_debug_insn_start(ctx.pc);
+ }
+
ctx.pc += 4;
ret = translate_one(ctxp, insn);
if (ret != 0)