summaryrefslogtreecommitdiff
path: root/ddb/db_watch.c
diff options
context:
space:
mode:
Diffstat (limited to 'ddb/db_watch.c')
-rw-r--r--ddb/db_watch.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/ddb/db_watch.c b/ddb/db_watch.c
index 7eb9995..a2f852b 100644
--- a/ddb/db_watch.c
+++ b/ddb/db_watch.c
@@ -37,6 +37,7 @@
#include <vm/vm_map.h>
#include <machine/db_machdep.h>
+#include <machine/db_interface.h>
#include <ddb/db_command.h>
#include <ddb/db_lex.h>
#include <ddb/db_watch.h>
@@ -55,9 +56,6 @@
boolean_t db_watchpoints_inserted = TRUE;
-extern boolean_t db_set_hw_watchpoint(db_watchpoint_t watch, unsigned hw_idx);
-extern boolean_t db_clear_hw_watchpoint(unsigned hw_idx);
-
#define NWATCHPOINTS 100
struct db_watchpoint db_watch_table[NWATCHPOINTS];
db_watchpoint_t db_next_free_watchpoint = &db_watch_table[0];