X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=gdbstub.h;h=5740041c76c260a573bd43ae1e0f24fb04e44520;hb=057fa65c5ddf915d73b69964f32fc854c914efd4;hp=1ba7931f77ff55f34bd018b7e270e499a12426bf;hpb=880a7578381d1c7ed4d41c7599ae3cc06567a824;p=qemu diff --git a/gdbstub.h b/gdbstub.h index 1ba7931..5740041 100644 --- a/gdbstub.h +++ b/gdbstub.h @@ -3,6 +3,13 @@ #define DEFAULT_GDBSTUB_PORT "1234" +/* GDB breakpoint/watchpoint types */ +#define GDB_BREAKPOINT_SW 0 +#define GDB_BREAKPOINT_HW 1 +#define GDB_WATCHPOINT_WRITE 2 +#define GDB_WATCHPOINT_READ 3 +#define GDB_WATCHPOINT_ACCESS 4 + typedef void (*gdb_syscall_complete_cb)(CPUState *env, target_ulong ret, target_ulong err); @@ -10,9 +17,12 @@ void gdb_do_syscall(gdb_syscall_complete_cb cb, const char *fmt, ...); int use_gdb_syscalls(void); void gdb_set_stop_cpu(CPUState *env); #ifdef CONFIG_USER_ONLY +int gdb_queuesig (void); int gdb_handlesig (CPUState *, int); void gdb_exit(CPUState *, int); +void gdb_signalled(CPUState *, int); int gdbserver_start(int); +void gdbserver_fork(CPUState *); #else int gdbserver_start(const char *port); #endif