Bit 10 of DR7 is documented as always set to 1, so ensure that's always the case.
Signed-off-by: Eduardo Habkost <ehabk...@redhat.com> --- target-i386/bpt_helper.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/target-i386/bpt_helper.c b/target-i386/bpt_helper.c index 23ce828..493deba 100644 --- a/target-i386/bpt_helper.c +++ b/target-i386/bpt_helper.c @@ -113,6 +113,8 @@ void cpu_x86_update_dr7(CPUX86State *env, uint32_t new_dr7) hw_breakpoint_insert(env, i); } } + + env->dr[7] |= DR7_FIXED_1; } #endif -- 2.1.0