diff options
author | Xiantao Zhang <xiantao.zhang@intel.com> | 2008-11-27 17:23:27 +0800 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-05-01 09:44:11 -0500 |
commit | 704aec581c1683750e313832ba3aa4813d59cbd0 (patch) | |
tree | ba65404dcfb01928672dc6da85fd48d2f5a882ee /vl.c | |
parent | 49669fc551e0ccd2310a9584a9b7343a0bcae477 (diff) | |
download | hqemu-704aec581c1683750e313832ba3aa4813d59cbd0.zip hqemu-704aec581c1683750e313832ba3aa4813d59cbd0.tar.gz |
Build fix for !CONFIG_GDBSTUB case
Once CONFIG_GDBSTUB not configured, compile will generate error.
Signed-off-by: Xiantao Zhang <xiantao.zhang@intel.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'vl.c')
-rw-r--r-- | vl.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 } } |