From owner-svn-src-head@FreeBSD.ORG Fri Mar 27 11:03:03 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0D07E106564A; Fri, 27 Mar 2009 11:03:03 +0000 (UTC) (envelope-from dds@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id EFC0C8FC0A; Fri, 27 Mar 2009 11:03:02 +0000 (UTC) (envelope-from dds@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n2RB32EV059448; Fri, 27 Mar 2009 11:03:02 GMT (envelope-from dds@svn.freebsd.org) Received: (from dds@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n2RB32Ki059447; Fri, 27 Mar 2009 11:03:02 GMT (envelope-from dds@svn.freebsd.org) Message-Id: <200903271103.n2RB32Ki059447@svn.freebsd.org> From: Diomidis Spinellis Date: Fri, 27 Mar 2009 11:03:02 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r190464 - head/lib/libc/sys X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Mar 2009 11:03:03 -0000 Author: dds Date: Fri Mar 27 11:03:02 2009 New Revision: 190464 URL: http://svn.freebsd.org/changeset/base/190464 Log: Document missing requests. Modified: head/lib/libc/sys/ptrace.2 Modified: head/lib/libc/sys/ptrace.2 ============================================================================== --- head/lib/libc/sys/ptrace.2 Fri Mar 27 05:48:42 2009 (r190463) +++ head/lib/libc/sys/ptrace.2 Fri Mar 27 11:03:02 2009 (r190464) @@ -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 April 9, 2007 +.Dd March 27, 2009 .Dt PTRACE 2 .Os .Sh NAME @@ -77,7 +77,8 @@ special case noted below, all .Fn ptrace calls are made by the tracing process, and the .Fa pid -argument specifies the process ID of the traced process. +argument specifies the process ID of the traced process +or a corresponding thread ID. The .Fa request argument @@ -311,6 +312,21 @@ with the array size specified by The return value from .Fn ptrace is the count of array entries filled in. +.It PT_SETSTEP +This request will turn on single stepping of the specified process. +.It PT_CLEARSTEP +This request will turn off single stepping of the specified process. +.It PT_SUSPEND +This request will suspend the specified thread. +.It PT_RESUME +This request will resume the specified thread. +.It PT_TO_SCE +This request will trace the specified process on each system call entry. +.It PT_TO_SCX +This request will trace the specified process on each system call exit. +.It PT_SYSCALL +This request will trace the specified process +on each system call entry and exit. .El .Pp Additionally, machine-specific requests can exist.