1362
by bellard
gdb support for user mode (Paul Brook) |
1 |
#ifndef GDBSTUB_H
|
2 |
#define GDBSTUB_H
|
|
3 |
||
2438
by pbrook
Allow gdbstub to connect over any serial device. |
4 |
#define DEFAULT_GDBSTUB_PORT "1234"
|
1362
by bellard
gdb support for user mode (Paul Brook) |
5 |
|
2355
by pbrook
GDB hosted syscalls. |
6 |
typedef void (*gdb_syscall_complete_cb)(CPUState *env, |
7 |
target_ulong ret, target_ulong err); |
|
8 |
||
9 |
void gdb_do_syscall(gdb_syscall_complete_cb cb, char *fmt, ...); |
|
10 |
int use_gdb_syscalls(void); |
|
1362
by bellard
gdb support for user mode (Paul Brook) |
11 |
#ifdef CONFIG_USER_ONLY
|
12 |
int gdb_handlesig (CPUState *, int); |
|
1396
by bellard
report user mode gdb exit codes (Paul Brook) |
13 |
void gdb_exit(CPUState *, int); |
1362
by bellard
gdb support for user mode (Paul Brook) |
14 |
int gdbserver_start(int); |
2354
by pbrook
Use standard character device interface for gdbstub. |
15 |
#else
|
2438
by pbrook
Allow gdbstub to connect over any serial device. |
16 |
int gdbserver_start(const char *port); |
2354
by pbrook
Use standard character device interface for gdbstub. |
17 |
#endif
|
1362
by bellard
gdb support for user mode (Paul Brook) |
18 |
|
19 |
#endif
|