From 9337eaff8a857efa2f791b7fb2a8c7ad0500ebf2 Mon Sep 17 00:00:00 2001 From: bsd Date: Fri, 13 Jul 2001 02:30:52 +0000 Subject: Document new hwatch/dhwatch commands. --- share/man/man4/ddb.4 | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'share/man/man4/ddb.4') diff --git a/share/man/man4/ddb.4 b/share/man/man4/ddb.4 index 37dd7e5..bee394f 100644 --- a/share/man/man4/ddb.4 +++ b/share/man/man4/ddb.4 @@ -419,6 +419,27 @@ with an error message. Attempts to watch wired kernel memory may cause unrecoverable error in some systems such as i386. Watchpoints on user addresses work best. +.It Xo +.Cm hwatch +.Ar addr Ns Li \&, Ns Ar size +.Xc +Set a hardware watchpoint for a region if supported by the +architecture. Execution stops when an attempt to modify the region +occurs. The +.Ar size +argument defaults to 4. +.Pp +.Sy Warning : +The hardware debug facilities do not have a concept of seperate +address spaces like the watch command does. Use +.Cm hwatch +for setting watchpoints on kernel address locations only, and avoid +its use on user mode address spaces. +.It Xo +.Cm dhwatch +.Ar addr Ns Li \&, Ns Ar size +.Xc +Delete specified hardware watchpoint. .It Cm gdb Toggles between remote GDB and DDB mode. In remote GDB mode, another machine is required that runs -- cgit v1.1