summaryrefslogtreecommitdiffstats
path: root/sys/ddb/db_break.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/ddb/db_break.h')
-rw-r--r--sys/ddb/db_break.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/ddb/db_break.h b/sys/ddb/db_break.h
index d6ed76e..ef43f68 100644
--- a/sys/ddb/db_break.h
+++ b/sys/ddb/db_break.h
@@ -41,8 +41,10 @@
#define BKPT_INST_TYPE int
#endif
+struct vm_map;
+
struct db_breakpoint {
- vm_map_t map; /* in this map */
+ struct vm_map *map; /* in this map */
db_addr_t address; /* set here */
int init_count; /* number of times to skip bkpt */
int count; /* current count */
@@ -64,4 +66,8 @@ 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_ */
OpenPOWER on IntegriCloud