diff --git a/qemu/target-i386/bpt_helper.c b/qemu/target-i386/bpt_helper.c index 5ce4ef1f..180a3755 100644 --- a/qemu/target-i386/bpt_helper.c +++ b/qemu/target-i386/bpt_helper.c @@ -84,6 +84,8 @@ void cpu_x86_update_dr7(CPUX86State *env, uint32_t new_dr7) int i; target_ulong old_dr7 = env->dr[7]; + new_dr7 |= DR7_FIXED_1; + /* If nothing is changing except the global/local enable bits, then we can make the change more efficient. */ if (((old_dr7 ^ new_dr7) & ~0xff) == 0) {