Use standard character device interface for gdbstub.
[qemu] / gdbstub.h
1 #ifndef GDBSTUB_H
2 #define GDBSTUB_H
3
4 #define DEFAULT_GDBSTUB_PORT 1234
5
6 #ifdef CONFIG_USER_ONLY
7 int gdb_handlesig (CPUState *, int);
8 void gdb_exit(CPUState *, int);
9 int gdbserver_start(int);
10 #else
11 int gdbserver_start(CharDriverState *chr);
12 #endif
13
14 #endif