Revision e22a25c9 exec.c

b/exec.c
1457 1457
#if defined(TARGET_HAS_ICE)
1458 1458
    if (env->singlestep_enabled != enabled) {
1459 1459
        env->singlestep_enabled = enabled;
1460
        /* must flush all the translated code to avoid inconsistancies */
1461
        /* XXX: only flush what is necessary */
1462
        tb_flush(env);
1460
        if (kvm_enabled())
1461
            kvm_update_guest_debug(env, 0);
1462
        else {
1463
            /* must flush all the translated code to avoid inconsistancies */
1464
            /* XXX: only flush what is necessary */
1465
            tb_flush(env);
1466
        }
1463 1467
    }
1464 1468
#endif
1465 1469
}

Also available in: Unified diff