]> Git Repo - qemu.git/blobdiff - gdbstub.c
sd/sdhci:ADMA: fix interrupt
[qemu.git] / gdbstub.c
index 22ab12c68cea3d6015a7d65da8fc7c2dc6f3b64c..90e54cb4e352b9cc5c241c2b4e4ee37e2167a9cb 100644 (file)
--- a/gdbstub.c
+++ b/gdbstub.c
@@ -30,7 +30,7 @@
 #include "qemu.h"
 #else
 #include "monitor/monitor.h"
-#include "char/char.h"
+#include "sysemu/char.h"
 #include "sysemu/sysemu.h"
 #include "exec/gdbstub.h"
 #endif
@@ -371,7 +371,9 @@ static inline void gdb_continue(GDBState *s)
 #ifdef CONFIG_USER_ONLY
     s->running_state = 1;
 #else
-    vm_start();
+    if (runstate_check(RUN_STATE_DEBUG)) {
+        vm_start();
+    }
 #endif
 }
 
This page took 0.023537 seconds and 4 git commands to generate.