]> git.proxmox.com Git - qemu.git/blobdiff - gdbstub.h
GDB exit status for semihosting
[qemu.git] / gdbstub.h
index 54d753cfd41484d5799aa4e239d75e843daffd7d..219abdab0e16315f7d34b9ab6ba19825719fc208 100644 (file)
--- a/gdbstub.h
+++ b/gdbstub.h
@@ -17,10 +17,10 @@ typedef void (*gdb_syscall_complete_cb)(CPUState *env,
 void gdb_do_syscall(gdb_syscall_complete_cb cb, const char *fmt, ...);
 int use_gdb_syscalls(void);
 void gdb_set_stop_cpu(CPUState *env);
+void gdb_exit(CPUState *, int);
 #ifdef CONFIG_USER_ONLY
 int gdb_queuesig (void);
 int gdb_handlesig (CPUState *, int);
-void gdb_exit(CPUState *, int);
 void gdb_signalled(CPUState *, int);
 void gdbserver_fork(CPUState *);
 #endif