diff options
author | marcel <marcel@FreeBSD.org> | 2005-09-10 03:01:25 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2005-09-10 03:01:25 +0000 |
commit | 5c8a9dbf0f5cb3b314fdecf87236ae88f4aa5c8e (patch) | |
tree | 2eb12d424d094aa2214ff516e993dbfab24f5b87 /sys/ddb | |
parent | 6798cfc6b59c78fe4bba3810e41d92bda4c52281 (diff) | |
download | FreeBSD-src-5c8a9dbf0f5cb3b314fdecf87236ae88f4aa5c8e.zip FreeBSD-src-5c8a9dbf0f5cb3b314fdecf87236ae88f4aa5c8e.tar.gz |
Move the prototypes of db_md_set_watchpoint(), db_md_clr_watchpoint()
and db_md_list_watchpoints() to ddb/ddb.h.
Diffstat (limited to 'sys/ddb')
-rw-r--r-- | sys/ddb/db_watch.c | 5 | ||||
-rw-r--r-- | sys/ddb/ddb.h | 3 |
2 files changed, 3 insertions, 5 deletions
diff --git a/sys/ddb/db_watch.c b/sys/ddb/db_watch.c index 6aa8103..6783094 100644 --- a/sys/ddb/db_watch.c +++ b/sys/ddb/db_watch.c @@ -66,11 +66,6 @@ static void db_list_watchpoints(void); static void db_set_watchpoint(vm_map_t map, db_addr_t addr, vm_size_t size); -int db_md_set_watchpoint(db_expr_t addr, db_expr_t size); -int db_md_clr_watchpoint(db_expr_t addr, db_expr_t size); -void db_md_list_watchpoints(void); - - static db_watchpoint_t db_watchpoint_alloc() { diff --git a/sys/ddb/ddb.h b/sys/ddb/ddb.h index a9cd0f2..45f9213 100644 --- a/sys/ddb/ddb.h +++ b/sys/ddb/ddb.h @@ -101,6 +101,9 @@ void db_iprintf(const char *,...) __printflike(1, 2); struct vm_map *db_map_addr(vm_offset_t); boolean_t db_map_current(struct vm_map *); boolean_t db_map_equal(struct vm_map *, struct vm_map *); +int db_md_set_watchpoint(db_expr_t addr, db_expr_t size); +int db_md_clr_watchpoint(db_expr_t addr, db_expr_t size); +void db_md_list_watchpoints(void); void db_print_loc_and_inst(db_addr_t loc); void db_print_thread(void); void db_printf(const char *fmt, ...) __printflike(1, 2); |