summaryrefslogtreecommitdiffstats
path: root/sys/ddb/ddb.h
diff options
context:
space:
mode:
authorbsd <bsd@FreeBSD.org>2001-07-11 03:15:25 +0000
committerbsd <bsd@FreeBSD.org>2001-07-11 03:15:25 +0000
commit17eb1bfcbf757a1739adfbf5d0fb91b10212a882 (patch)
tree52fdc5e25b5fc104fbb4ec3a396a3c44576aff14 /sys/ddb/ddb.h
parent0d42a4ee81d7081c6b0b32ccde9c7a4ec2b90f50 (diff)
downloadFreeBSD-src-17eb1bfcbf757a1739adfbf5d0fb91b10212a882.zip
FreeBSD-src-17eb1bfcbf757a1739adfbf5d0fb91b10212a882.tar.gz
Add 'hwatch' and 'dhwatch' ddb commands analogous to 'watch' and
'dwatch'. The new commands install hardware watchpoints if supported by the architecture and if there are enough registers to cover the desired memory area. No objection by: audit@, hackers@ MFC after: 2 weeks
Diffstat (limited to 'sys/ddb/ddb.h')
-rw-r--r--sys/ddb/ddb.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/ddb/ddb.h b/sys/ddb/ddb.h
index 972772f..df602d0 100644
--- a/sys/ddb/ddb.h
+++ b/sys/ddb/ddb.h
@@ -109,8 +109,10 @@ void kdb_init __P((void));
db_cmdfcn_t db_breakpoint_cmd;
db_cmdfcn_t db_continue_cmd;
db_cmdfcn_t db_delete_cmd;
+db_cmdfcn_t db_deletehwatch_cmd;
db_cmdfcn_t db_deletewatch_cmd;
db_cmdfcn_t db_examine_cmd;
+db_cmdfcn_t db_hwatchpoint_cmd;
db_cmdfcn_t db_listbreak_cmd;
db_cmdfcn_t db_print_cmd;
db_cmdfcn_t db_ps;
OpenPOWER on IntegriCloud