From 0e1c9c54afb9ce6be2339923ced025a0d2a541ea Mon Sep 17 00:00:00 2001 From: Paul Brook Date: Wed, 16 Jun 2010 13:03:51 +0100 Subject: GDB exit status for semihosting Report exit status to GDB when a semihosted application exits. Signed-off-by: Paul Brook --- gdbstub.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdbstub.h') diff --git a/gdbstub.h b/gdbstub.h index 54d753c..219abda 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 -- cgit v1.1