mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
GDB exit status for semihosting
Report exit status to GDB when a semihosted application exits. Signed-off-by: Paul Brook <paul@codesourcery.com>
This commit is contained in:
parent
1884533c74
commit
0e1c9c54af
4 changed files with 23 additions and 15 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue