From 725e675c8b64f174faec550ad44193a59cf22943 Mon Sep 17 00:00:00 2001 From: jwd Date: Sat, 14 Oct 2000 04:01:39 +0000 Subject: [PATCH] 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 and no other response to the review request. --- lib/libc/sys/ptrace.2 | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/lib/libc/sys/ptrace.2 b/lib/libc/sys/ptrace.2 index 96c41c1258a..837dde5fbbc 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 -- 2.45.2