]> git.proxmox.com Git - mirror_qemu.git/blobdiff - target-i386/cpu.c
exec: Change cpu_breakpoint_{insert,remove{,_by_ref,_all}} argument
[mirror_qemu.git] / target-i386 / cpu.c
index a35f7bcb22ebdc3bd469b57aef7587de776adb24..659ec9a11ba10f882d7128e3532bbadfbe8f82a0 100644 (file)
@@ -2473,7 +2473,7 @@ static void x86_cpu_reset(CPUState *s)
     memset(env->dr, 0, sizeof(env->dr));
     env->dr[6] = DR6_FIXED_1;
     env->dr[7] = DR7_FIXED_1;
-    cpu_breakpoint_remove_all(env, BP_CPU);
+    cpu_breakpoint_remove_all(s, BP_CPU);
     cpu_watchpoint_remove_all(s, BP_CPU);
 
     env->tsc_adjust = 0;