]> git.proxmox.com Git - mirror_qemu.git/blobdiff - gdbstub.c
hw/intc/arm_gicv3_redist: Recalculate hppvlpi on VPENDBASER writes
[mirror_qemu.git] / gdbstub.c
index c8375e3c3ffea8d86cd8611c10b0473556603568..a3ff8702cefb6fad0965f568a35c6cda9fee32a0 100644 (file)
--- a/gdbstub.c
+++ b/gdbstub.c
@@ -24,7 +24,6 @@
  */
 
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "qapi/error.h"
 #include "qemu/error-report.h"
 #include "qemu/ctype.h"
@@ -519,7 +518,15 @@ static int gdb_continue_partial(char *newstates)
     int flag = 0;
 
     if (!runstate_needs_reset()) {
-        if (vm_prepare_start()) {
+        bool step_requested = false;
+        CPU_FOREACH(cpu) {
+            if (newstates[cpu->cpu_index] == 's') {
+                step_requested = true;
+                break;
+            }
+        }
+
+        if (vm_prepare_start(step_requested)) {
             return 0;
         }