]> git.proxmox.com Git - qemu.git/blobdiff - cpus.c
cpu: Move singlestep_enabled field from CPU_COMMON to CPUState
[qemu.git] / cpus.c
diff --git a/cpus.c b/cpus.c
index 2509eb5af317a8a77e0e055399e6e0a4f26cce8e..4549b7a01a616f6c94d66016bb073b35d6fe7667 100644 (file)
--- a/cpus.c
+++ b/cpus.c
@@ -1186,7 +1186,7 @@ static void tcg_exec_all(void)
         CPUArchState *env = cpu->env_ptr;
 
         qemu_clock_enable(vm_clock,
-                          (env->singlestep_enabled & SSTEP_NOTIMER) == 0);
+                          (cpu->singlestep_enabled & SSTEP_NOTIMER) == 0);
 
         if (cpu_can_run(cpu)) {
             r = tcg_cpu_exec(env);