Module Name:    src
Committed By:   kamil
Date:           Thu Dec 15 15:03:17 UTC 2016

Modified Files:
        src/lib/libc/sys: ptrace.2

Log Message:
ptrace(2): Document PT_GETVECREGS and PT_SETVECREGS (ppc ports specific)

Sponsored by <The NetBSD Foundation>


To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 src/lib/libc/sys/ptrace.2

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libc/sys/ptrace.2
diff -u src/lib/libc/sys/ptrace.2:1.43 src/lib/libc/sys/ptrace.2:1.44
--- src/lib/libc/sys/ptrace.2:1.43	Thu Dec 15 14:49:46 2016
+++ src/lib/libc/sys/ptrace.2	Thu Dec 15 15:03:17 2016
@@ -1,4 +1,4 @@
-.\"	$NetBSD: ptrace.2,v 1.43 2016/12/15 14:49:46 kamil Exp $
+.\"	$NetBSD: ptrace.2,v 1.44 2016/12/15 15:03:17 kamil Exp $
 .\"
 .\" This file is in the public domain.
 .Dd November 1, 2016
@@ -417,6 +417,33 @@ The
 argument contains the LWP ID of the thread whose registers are to
 be written.
 If zero is supplied, the first thread of the process is written.
+.It Dv PT_GETVECREGS
+This request reads the traced process' vector registers into
+the
+.Dq Li "struct vreg"
+(defined in
+.In machine/reg.h )
+pointed to by
+.Fa addr .
+The
+.Fa data
+argument contains the LWP ID of the thread whose registers are to
+be read.
+If zero is supplied, the first thread of the process is read.
+.It Dv PT_SETVECREGS
+This request is the converse of
+.Dv PT_GETVECREGS ;
+it loads the traced process' vector registers from the
+.Dq Li "struct vreg"
+(defined in
+.In machine/reg.h )
+pointed to by
+.Fa addr .
+The
+.Fa data
+argument contains the LWP ID of the thread whose registers are to
+be written.
+If zero is supplied, the first thread of the process is written.
 .El
 .Sh ERRORS
 Some requests can cause

Reply via email to