summaryrefslogtreecommitdiff
path: root/gdbstub.c
diff options
context:
space:
mode:
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2009-03-07 21:28:24 +0000
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2009-03-07 21:28:24 +0000
commit7953665848cd4d5b59a5c361e08431cd685472c3 (patch)
treea77ed1b45c1228d3fa7486de9f3d64885682c0d7 /gdbstub.c
parent0e256c61cef39cdbe32a0e9e78c95fd74c41d067 (diff)
downloadqemu-7953665848cd4d5b59a5c361e08431cd685472c3.tar.gz
qemu-7953665848cd4d5b59a5c361e08431cd685472c3.tar.bz2
qemu-7953665848cd4d5b59a5c361e08431cd685472c3.zip
Use a dedicated function to request exit from execution loop
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6762 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'gdbstub.c')
-rw-r--r--gdbstub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdbstub.c b/gdbstub.c
index d54976612f..addff2ee7a 100644
--- a/gdbstub.c
+++ b/gdbstub.c
@@ -2012,7 +2012,7 @@ void gdb_do_syscall(gdb_syscall_complete_cb cb, const char *fmt, ...)
#ifdef CONFIG_USER_ONLY
gdb_handlesig(s->c_cpu, 0);
#else
- cpu_interrupt(s->c_cpu, CPU_INTERRUPT_EXIT);
+ cpu_exit(s->c_cpu);
#endif
}