]> Git Repo - qemu.git/blobdiff - gdbstub.c
intc/xilinx_intc: Don't clear level sens. IRQs without ACK
[qemu.git] / gdbstub.c
index e80e1d32b10b15aefac006e398ee7101f3642c66..94c78ced56b85fe6c7d0164b2ad2437ddd83cad9 100644 (file)
--- a/gdbstub.c
+++ b/gdbstub.c
@@ -371,7 +371,12 @@ static inline void gdb_continue(GDBState *s)
 #ifdef CONFIG_USER_ONLY
     s->running_state = 1;
 #else
-    vm_start();
+    if (runstate_check(RUN_STATE_GUEST_PANICKED)) {
+        runstate_set(RUN_STATE_DEBUG);
+    }
+    if (!runstate_needs_reset()) {
+        vm_start();
+    }
 #endif
 }
 
This page took 0.023053 seconds and 4 git commands to generate.