mirror of
https://git.proxmox.com/git/qemu
synced 2025-08-08 03:56:41 +00:00
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>
This commit is contained in:
parent
49669fc551
commit
704aec581c
2
vl.c
2
vl.c
@ -4350,11 +4350,13 @@ static void tcg_cpu_exec(void)
|
|||||||
}
|
}
|
||||||
if (cpu_can_run(env))
|
if (cpu_can_run(env))
|
||||||
ret = qemu_cpu_exec(env);
|
ret = qemu_cpu_exec(env);
|
||||||
|
#ifndef CONFIG_GDBSTUB
|
||||||
if (ret == EXCP_DEBUG) {
|
if (ret == EXCP_DEBUG) {
|
||||||
gdb_set_stop_cpu(env);
|
gdb_set_stop_cpu(env);
|
||||||
debug_requested = 1;
|
debug_requested = 1;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user