aboutsummaryrefslogtreecommitdiff
path: root/vl.c
diff options
context:
space:
mode:
Diffstat (limited to 'vl.c')
-rw-r--r--vl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/vl.c b/vl.c
index 2d38ded49d..385b124a85 100644
--- a/vl.c
+++ b/vl.c
@@ -4350,11 +4350,13 @@ static void tcg_cpu_exec(void)
}
if (cpu_can_run(env))
ret = qemu_cpu_exec(env);
+#ifndef CONFIG_GDBSTUB
if (ret == EXCP_DEBUG) {
gdb_set_stop_cpu(env);
debug_requested = 1;
break;
}
+#endif
}
}