From: Xiantao Zhang Date: Thu, 27 Nov 2008 09:23:27 +0000 (+0800) Subject: Build fix for !CONFIG_GDBSTUB case X-Git-Tag: 0.10.0-0sb10~1366 X-Git-Url: http://git.maemo.org/git/?p=qemu;a=commitdiff_plain;h=704aec581c1683750e313832ba3aa4813d59cbd0 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 --- diff --git a/vl.c b/vl.c index 2d38ded..385b124 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 } }