Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/sys ptrace(2): Document PT_GETXMMREGS and PT_SETXMM...



details:   https://anonhg.NetBSD.org/src/rev/20ce5b68b88e
branches:  trunk
changeset: 349597:20ce5b68b88e
user:      kamil <kamil%NetBSD.org@localhost>
date:      Thu Dec 15 14:49:46 2016 +0000

description:
ptrace(2): Document PT_GETXMMREGS and PT_SETXMMREGS (i386 port specific)

Sponsored by <The NetBSD Foundation>

diffstat:

 lib/libc/sys/ptrace.2 |  29 ++++++++++++++++++++++++++++-
 1 files changed, 28 insertions(+), 1 deletions(-)

diffs (43 lines):

diff -r 6f9bb464159e -r 20ce5b68b88e lib/libc/sys/ptrace.2
--- a/lib/libc/sys/ptrace.2     Thu Dec 15 13:06:08 2016 +0000
+++ b/lib/libc/sys/ptrace.2     Thu Dec 15 14:49:46 2016 +0000
@@ -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 @@
 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



Home | Main Index | Thread Index | Old Index