summaryrefslogtreecommitdiff
path: root/lib/libc/sys
diff options
context:
space:
mode:
authorkamil <kamil@NetBSD.org>2016-12-15 15:03:17 +0000
committerkamil <kamil@NetBSD.org>2016-12-15 15:03:17 +0000
commitc75cf5f860e79cb78afffc880f530f2dfaeec587 (patch)
tree68c8ded8dc0df3a92bd727f292bef2f4cc3aadc1 /lib/libc/sys
parent70fc66314140809ee27310b4a658faf5fb70926e (diff)
ptrace(2): Document PT_GETVECREGS and PT_SETVECREGS (ppc ports specific)
Sponsored by <The NetBSD Foundation>
Diffstat (limited to 'lib/libc/sys')
-rw-r--r--lib/libc/sys/ptrace.229
1 files changed, 28 insertions, 1 deletions
diff --git a/lib/libc/sys/ptrace.2 b/lib/libc/sys/ptrace.2
index ad062dae600..48922549426 100644
--- a/lib/libc/sys/ptrace.2
+++ b/lib/libc/sys/ptrace.2
@@ -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