Clear the SR[T] in cf_interrupt_all() to disable tracing, like
m68k_interrupt_all() does.

Signed-off-by: Eric DeVolder <[email protected]>
---
 target/m68k/op_helper.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/target/m68k/op_helper.c b/target/m68k/op_helper.c
index 38f7a68981..65eb69f2b4 100644
--- a/target/m68k/op_helper.c
+++ b/target/m68k/op_helper.c
@@ -240,6 +240,7 @@ static void cf_interrupt_all(CPUM68KState *env, int is_hw)
     fmt |= sr;
 
     env->sr |= SR_S;
+    env->sr &= ~SR_T;
     if (is_hw) {
         env->sr = (env->sr & ~SR_I) | (env->pending_level << SR_I_SHIFT);
         env->sr &= ~SR_M;
-- 
2.53.0


Reply via email to