]> git.proxmox.com Git - qemu.git/blobdiff - target-i386/translate.c
Emit debug_insn for CPU_LOG_TB_OP_OPT as well.
[qemu.git] / target-i386 / translate.c
index eb0cabcf191bb54f9a4f4d30d23b33031cb986c9..323869d874750315edac4968816a265eba9c4e28 100644 (file)
@@ -4202,8 +4202,9 @@ static target_ulong disas_insn(DisasContext *s, target_ulong pc_start)
     target_ulong next_eip, tval;
     int rex_w, rex_r;
 
-    if (unlikely(qemu_loglevel_mask(CPU_LOG_TB_OP)))
+    if (unlikely(qemu_loglevel_mask(CPU_LOG_TB_OP | CPU_LOG_TB_OP_OPT))) {
         tcg_gen_debug_insn_start(pc_start);
+    }
     s->pc = pc_start;
     prefixes = 0;
     aflag = s->code32;