root / gdbstub.h @ 4118a970
History | View | Annotate | Download (479 Bytes)
1 | 1fddef4b | bellard | #ifndef GDBSTUB_H
|
---|---|---|---|
2 | 1fddef4b | bellard | #define GDBSTUB_H
|
3 | 1fddef4b | bellard | |
4 | cfc3475a | pbrook | #define DEFAULT_GDBSTUB_PORT "1234" |
5 | 1fddef4b | bellard | |
6 | a2d1ebaf | pbrook | typedef void (*gdb_syscall_complete_cb)(CPUState *env, |
7 | a2d1ebaf | pbrook | target_ulong ret, target_ulong err); |
8 | a2d1ebaf | pbrook | |
9 | a2d1ebaf | pbrook | void gdb_do_syscall(gdb_syscall_complete_cb cb, char *fmt, ...); |
10 | a2d1ebaf | pbrook | int use_gdb_syscalls(void); |
11 | 1fddef4b | bellard | #ifdef CONFIG_USER_ONLY
|
12 | 1fddef4b | bellard | int gdb_handlesig (CPUState *, int); |
13 | e9009676 | bellard | void gdb_exit(CPUState *, int); |
14 | 1fddef4b | bellard | int gdbserver_start(int); |
15 | 4046d913 | pbrook | #else
|
16 | cfc3475a | pbrook | int gdbserver_start(const char *port); |
17 | 4046d913 | pbrook | #endif
|
18 | 1fddef4b | bellard | |
19 | 1fddef4b | bellard | #endif |