From 704aec581c1683750e313832ba3aa4813d59cbd0 Mon Sep 17 00:00:00 2001 From: Xiantao Zhang Date: Thu, 27 Nov 2008 17:23:27 +0800 Subject: [PATCH] Build fix for !CONFIG_GDBSTUB case Once CONFIG_GDBSTUB not configured, compile will generate error. Signed-off-by: Xiantao Zhang Signed-off-by: Avi Kivity Signed-off-by: Anthony Liguori --- vl.c | 2 ++ 1 file changed, 2 insertions(+) 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 } } -- 2.11.4.GIT