summaryrefslogtreecommitdiff
path: root/sys/ddb/db_watch.h
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2010-11-27 19:59:12 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2010-11-27 19:59:12 +0000
commit94df2bf27bc7395872312d0e9e7f4689692aefcb (patch)
treebd2d940902ab8d277dd16d778036c02ca31849f6 /sys/ddb/db_watch.h
parent0ed7bf7b63c6099fc1205fa39502c78fba9d94c0 (diff)
Get rid of the vm_map field of ddb breakpoints and watchpoints, and do not
pretend these could work on userland addresses.
Diffstat (limited to 'sys/ddb/db_watch.h')
-rw-r--r--sys/ddb/db_watch.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/sys/ddb/db_watch.h b/sys/ddb/db_watch.h
index ab20fe06509..1c14f78c431 100644
--- a/sys/ddb/db_watch.h
+++ b/sys/ddb/db_watch.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_watch.h,v 1.8 2002/03/14 01:26:51 millert Exp $ */
+/* $OpenBSD: db_watch.h,v 1.9 2010/11/27 19:59:11 miod Exp $ */
/* $NetBSD: db_watch.h,v 1.9 1996/02/05 01:57:24 christos Exp $ */
/*
@@ -37,7 +37,6 @@
* Watchpoint.
*/
typedef struct db_watchpoint {
- struct vm_map *map; /* in this map */
db_addr_t loaddr; /* from this address */
db_addr_t hiaddr; /* to this address */
struct db_watchpoint *link; /* link in in-use or free chain */
@@ -45,14 +44,13 @@ typedef struct db_watchpoint {
db_watchpoint_t db_watchpoint_alloc(void);
void db_watchpoint_free(db_watchpoint_t);
-void db_set_watchpoint(struct vm_map *, db_addr_t, vsize_t);
-void db_delete_watchpoint(struct vm_map *, db_addr_t);
+void db_set_watchpoint(db_addr_t, vsize_t);
+void db_delete_watchpoint(db_addr_t);
void db_list_watchpoints(void);
void db_deletewatch_cmd(db_expr_t, int, db_expr_t, char *);
void db_watchpoint_cmd(db_expr_t, int, db_expr_t, char *);
void db_listwatch_cmd(db_expr_t, int, db_expr_t, char *);
void db_set_watchpoints(void);
void db_clear_watchpoints(void);
-boolean_t db_find_watchpoint(struct vm_map *, db_addr_t, db_regs_t *);
#endif /* _DDB_DB_WATCH_ */