From 17eb1bfcbf757a1739adfbf5d0fb91b10212a882 Mon Sep 17 00:00:00 2001 From: bsd Date: Wed, 11 Jul 2001 03:15:25 +0000 Subject: 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 --- sys/ddb/ddb.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys/ddb/ddb.h') 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; -- cgit v1.1