summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJake Burkholder <jake@FreeBSD.org>2002-12-31 18:30:53 +0000
committerJake Burkholder <jake@FreeBSD.org>2002-12-31 18:30:53 +0000
commitd43f696c1c7ef13e707b19fc80822e808f89e7cb (patch)
treecb1e8e5233d2068fdd3faa923e40294ffbbbd7fb
parentaddea9d4d74e7e8fae161b7375e627b62161ead2 (diff)
Notes
-rw-r--r--sys/ddb/db_break.h8
-rw-r--r--sys/ddb/ddb.h3
2 files changed, 4 insertions, 7 deletions
diff --git a/sys/ddb/db_break.h b/sys/ddb/db_break.h
index ef43f689072b..d6ed76e6a821 100644
--- a/sys/ddb/db_break.h
+++ b/sys/ddb/db_break.h
@@ -41,10 +41,8 @@
#define BKPT_INST_TYPE int
#endif
-struct vm_map;
-
struct db_breakpoint {
- struct vm_map *map; /* in this map */
+ vm_map_t map; /* in this map */
db_addr_t address; /* set here */
int init_count; /* number of times to skip bkpt */
int count; /* current count */
@@ -66,8 +64,4 @@ void db_set_breakpoints(void);
db_breakpoint_t db_set_temp_breakpoint(db_addr_t);
#endif
-#ifdef ALT_BREAK_TO_DEBUGGER
-int db_alt_break(int, int *);
-#endif
-
#endif /* !_DDB_DB_BREAK_H_ */
diff --git a/sys/ddb/ddb.h b/sys/ddb/ddb.h
index cd8839bcc457..3124c6e8f393 100644
--- a/sys/ddb/ddb.h
+++ b/sys/ddb/ddb.h
@@ -79,6 +79,9 @@ extern db_expr_t db_tab_stop_width;
struct vm_map;
+#ifdef ALT_BREAK_TO_DEBUGGER
+int db_alt_break(int, int *);
+#endif
void db_check_interrupt(void);
void db_clear_watchpoints(void);
db_addr_t db_disasm(db_addr_t loc, boolean_t altfmt);