From 43042e6f6cc483b22694619861eab183364f08f5 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Mon, 4 Feb 2013 11:37:51 +0100 Subject: Document dwatch * doc/mach.texi: Add dwatch documentation. --- doc/mach.texi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/doc/mach.texi b/doc/mach.texi index e93fdb8..8f45dfb 100644 --- a/doc/mach.texi +++ b/doc/mach.texi @@ -7088,6 +7088,15 @@ rejected with an error message. Warning: Attempts to watch wired kernel memory may cause unrecoverable error in some systems such as i386. Watchpoints on user addresses work best. + +@item dwatch[/T] @var{addr} [ @var{task} ] +Clears a watchpoint previously set for a region. +Without @code{T} option, @var{addr} is assumed to be a kernel address. +If you want to clear a watch point in user space, specify @code{T} and +@var{task} parameter where the address belongs to. If the @var{task} +parameter is omitted, a task of the default target thread or a current +task is assumed. If you specify a wrong space address, the request is +rejected with an error message. @end table -- cgit v1.2.3