diff options
author | bsd <bsd@FreeBSD.org> | 2001-07-13 02:30:52 +0000 |
---|---|---|
committer | bsd <bsd@FreeBSD.org> | 2001-07-13 02:30:52 +0000 |
commit | 9337eaff8a857efa2f791b7fb2a8c7ad0500ebf2 (patch) | |
tree | a70bcf2ee43807186f145bd1e6915edb052c1508 /share/man | |
parent | c29f79581ed1694ff6ad0b6e42468e574bfa81df (diff) | |
download | FreeBSD-src-9337eaff8a857efa2f791b7fb2a8c7ad0500ebf2.zip FreeBSD-src-9337eaff8a857efa2f791b7fb2a8c7ad0500ebf2.tar.gz |
Document new hwatch/dhwatch commands.
Diffstat (limited to 'share/man')
-rw-r--r-- | share/man/man4/ddb.4 | 21 |
1 files changed, 21 insertions, 0 deletions
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 |