From 8a16327d58f2b689b5748b755ce8bc735190e6d3 Mon Sep 17 00:00:00 2001 From: Ian Dowse Date: Mon, 11 Aug 2003 13:13:46 +0000 Subject: [PATCH] Make the documentation of PT_STEP match its implementation: the `data' parameter is not ignored; if non-zero, it specifies a signal number to be delivered to the traced process. MFC after: 1 day --- lib/libc/sys/ptrace.2 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/libc/sys/ptrace.2 b/lib/libc/sys/ptrace.2 index 7ce40777eefb..be4482265080 100644 --- a/lib/libc/sys/ptrace.2 +++ b/lib/libc/sys/ptrace.2 @@ -2,7 +2,7 @@ .\" $NetBSD: ptrace.2,v 1.2 1995/02/27 12:35:37 cgd Exp $ .\" .\" This file is in the public domain. -.Dd January 20, 1996 +.Dd August 11, 2003 .Dt PTRACE 2 .Os .Sh NAME @@ -162,7 +162,8 @@ should be passed The .Fa data argument -is not used. +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_KILL The traced process terminates, as if .Dv PT_CONTINUE