aboutsummaryrefslogtreecommitdiff
path: root/gdbstub.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdbstub.h')
-rw-r--r--gdbstub.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/gdbstub.h b/gdbstub.h
index c7d1c4b43f..5740041c76 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);