diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2005-04-04 19:12:26 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2005-04-04 19:12:26 +0000 |
commit | 30fc5c7ac6ab1ad281eba61de637bc714773d1a1 (patch) | |
tree | d7a2a2ada08b41de922cea56899f2a2801723eb4 /lib/libc | |
parent | b29d0a3488227c28d72f131ed2d25548b1147be5 (diff) |
Document PT_[GS]ETXMMREGS.
ok jmc@
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/sys/ptrace.2 | 34 |
1 files changed, 27 insertions, 7 deletions
diff --git a/lib/libc/sys/ptrace.2 b/lib/libc/sys/ptrace.2 index 33a0c40e7f6..863401008fc 100644 --- a/lib/libc/sys/ptrace.2 +++ b/lib/libc/sys/ptrace.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: ptrace.2,v 1.15 2005/03/26 13:31:36 jmc Exp $ +.\" $OpenBSD: ptrace.2,v 1.16 2005/04/04 19:12:25 kettenis Exp $ .\" $NetBSD: ptrace.2,v 1.3 1996/02/23 01:39:41 jtc Exp $ .\" .\" This file is in the public domain. @@ -241,7 +241,7 @@ platforms support the following requests: .Bl -tag -width 12n .It Dv PT_GETREGS This request reads the traced process' machine registers into the -.Dq Li "struct reg" +.Dq Li struct reg (defined in .Aq Pa machine/reg.h ) pointed to by @@ -250,7 +250,7 @@ pointed to by This request is the converse of .Dv PT_GETREGS ; it loads the traced process' machine registers from the -.Dq Li "struct reg" +.Dq Li struct reg (defined in .Aq Pa machine/reg.h ) pointed to by @@ -272,7 +272,7 @@ pointed to by .\" the return values can be examined and potentially changed. The .\" .Li u_kproc.kp_proc.p_md .\" element is of type -.\" .Dq Li "struct mdproc" , +.\" .Dq Li struct mdproc , .\" which should be declared by including .\" .Aq Pa sys/param.h , .\" .Aq Pa sys/user.h , @@ -357,7 +357,7 @@ In addition, all platforms but vax support these additional requests: .It Dv PT_GETFPREGS This request reads the traced process' floating-point registers into the -.Dq Li "struct fpreg" +.Dq Li struct fpreg (defined in .Aq Pa machine/reg.h ) pointed to by @@ -366,7 +366,27 @@ pointed to by This request is the converse of .Dv PT_GETFPREGS ; it loads the traced process' floating-point registers from the -.Dq Li "struct fpreg" +.Dq Li struct fpreg +(defined in +.Aq Pa machine/reg.h ) +pointed to by +.Fa addr . +.El +.Pp +The following requests are available on i386: +.Bl -tag -width 12n +.It Dv PT_GETXMMREGS +This request reads the traced process' XMM registers into the +.Dq Li struct xmmregs +(defined in +.Aq Pa machine/reg.h ) +pointed to by +.Fa addr . +.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 .Aq Pa machine/reg.h ) pointed to by @@ -489,4 +509,4 @@ Single-stepping is not available. .\" there is no easy way to tell whether the traced process stopped because .\" it made a syscall or because a signal was sent at a moment that it just .\" happened to have valid-looking garbage in its -.\" .Dq Li "struct mdproc" . +.\" .Dq Li struct mdproc . |