summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/ptrace.2
diff options
context:
space:
mode:
authorjwd <jwd@FreeBSD.org>2000-10-14 04:01:39 +0000
committerjwd <jwd@FreeBSD.org>2000-10-14 04:01:39 +0000
commit725e675c8b64f174faec550ad44193a59cf22943 (patch)
tree29d13c359861d50c5e3e0c7d77ebe023021d9bf9 /lib/libc/sys/ptrace.2
parent9b74eb428caea67152c35bcb81ceb4870ecb2534 (diff)
downloadFreeBSD-src-725e675c8b64f174faec550ad44193a59cf22943.zip
FreeBSD-src-725e675c8b64f174faec550ad44193a59cf22943.tar.gz
Document the ptrace() PT_STEP request.
Add references to the newly added hardware debug register support functions i386_clr_watch(3) and i386_set_watch(3). Reviewed by: Sean Eric Fagan <sef@kithrup.com> and no other response to the review request.
Diffstat (limited to 'lib/libc/sys/ptrace.2')
-rw-r--r--lib/libc/sys/ptrace.211
1 files changed, 10 insertions, 1 deletions
diff --git a/lib/libc/sys/ptrace.2 b/lib/libc/sys/ptrace.2
index 96c41c1..837dde5 100644
--- a/lib/libc/sys/ptrace.2
+++ b/lib/libc/sys/ptrace.2
@@ -143,6 +143,13 @@ to indicate that execution is to pick up where it left off.
.Fa data
provides a signal number to be delivered to the traced process as it
resumes execution, or 0 if no signal is to be sent.
+.It Dv PT_STEP
+The traced process is single stepped one instruction.
+The
+.Fa addr
+and
+.Fa data
+fields are not used.
.It Dv PT_KILL
The traced process terminates, as if
.Dv PT_CONTINUE
@@ -306,7 +313,9 @@ above.
.Xr execve 2 ,
.Xr sigaction 2 ,
.Xr wait 2 ,
-.Xr execv 3
+.Xr execv 3 ,
+.Xr i386_clr_watch 3 ,
+.Xr i386_set_watch 3
.Sh HISTORY
A
.Fn ptrace
OpenPOWER on IntegriCloud