aboutsummaryrefslogtreecommitdiff
path: root/gdbstub.h
diff options
context:
space:
mode:
authorPaul Brook <paul@codesourcery.com>2010-06-16 13:03:51 +0100
committerPaul Brook <paul@codesourcery.com>2010-06-16 13:03:51 +0100
commit0e1c9c54afb9ce6be2339923ced025a0d2a541ea (patch)
tree37ecff9eb90d4c880b80bfdcb53ab976dc6236e8 /gdbstub.h
parent1884533c74aea64f8acac735a30bc8f427de161f (diff)
GDB exit status for semihosting
Report exit status to GDB when a semihosted application exits. Signed-off-by: Paul Brook <paul@codesourcery.com>
Diffstat (limited to 'gdbstub.h')
-rw-r--r--gdbstub.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdbstub.h b/gdbstub.h
index 54d753cfd4..219abdab0e 100644
--- 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