Message ID | 20240527072435.52812-21-mjt@tls.msk.ru (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Patch Round-up for stable 8.2.5, freeze on 2024-06-07 | expand |
diff --git a/target/i386/tcg/translate.c b/target/i386/tcg/translate.c index cbf69a64e4..3df26c7425 100644 --- a/target/i386/tcg/translate.c +++ b/target/i386/tcg/translate.c @@ -2785,7 +2785,7 @@ do_gen_eob_worker(DisasContext *s, bool inhibit, bool recheck_tf, bool jr) if (recheck_tf) { gen_helper_rechecking_single_step(tcg_env); tcg_gen_exit_tb(NULL, 0); - } else if (s->flags & HF_TF_MASK) { + } else if ((s->flags & HF_TF_MASK) && !inhibit) { gen_helper_single_step(tcg_env); } else if (jr && /* give irqs a chance to happen */