Module Name: src
Committed By: kamil
Date: Thu Dec 15 14:49:46 UTC 2016
Modified Files:
src/lib/libc/sys: ptrace.2
Log Message:
ptrace(2): Document PT_GETXMMREGS and PT_SETXMMREGS (i386 port specific)
Sponsored by <The NetBSD Foundation>
To generate a diff of this commit:
cvs rdiff -u -r1.42 -r1.43 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.42 src/lib/libc/sys/ptrace.2:1.43
--- src/lib/libc/sys/ptrace.2:1.42 Thu Dec 15 13:06:08 2016
+++ src/lib/libc/sys/ptrace.2 Thu Dec 15 14:49:46 2016
@@ -1,4 +1,4 @@
-.\" $NetBSD: ptrace.2,v 1.42 2016/12/15 13:06:08 kamil Exp $
+.\" $NetBSD: ptrace.2,v 1.43 2016/12/15 14:49:46 kamil Exp $
.\"
.\" This file is in the public domain.
.Dd November 1, 2016
@@ -390,6 +390,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_GETXMMREGS
+This request reads the traced process' XMM registers into
+the
+.Dq Li "struct xmmregs"
+(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_SETXMMREGS
+This request is the converse of
+.Dv PT_GETXMMREGS ;
+it loads the traced process' XMM registers from the
+.Dq Li "struct xmmregs"
+(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