summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2017-11-14 22:18:13 +0000
committerjhb <jhb@FreeBSD.org>2017-11-14 22:18:13 +0000
commit8e18cd3b124906b5f85e6f08b6c6ce16023a8916 (patch)
tree7bf676c38b8c20feb29386ca16eeaeb2ee6d2b8d /lib
parent03331e847a46ccac38652aced10f2f91ab07c0f2 (diff)
downloadFreeBSD-src-8e18cd3b124906b5f85e6f08b6c6ce16023a8916.zip
FreeBSD-src-8e18cd3b124906b5f85e6f08b6c6ce16023a8916.tar.gz
MFC 323581,323582,323583: Add ptrace operations for VFP registers.
323581: Only mess with VFP state on the CPU for curthread for get/set_vfpcontext. Future changes will use these functions to fetch and store VFP state for threads other than curthread. 323582: Add ptrace operations to fetch and store VFP registers. 323583: Export get/set_vfpcontext from machdep.c. Should have been part of the previous commit to add ptrace operations for VFP registers.
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/sys/ptrace.224
1 files changed, 23 insertions, 1 deletions
diff --git a/lib/libc/sys/ptrace.2 b/lib/libc/sys/ptrace.2
index b8968eb..d1dac69 100644
--- a/lib/libc/sys/ptrace.2
+++ b/lib/libc/sys/ptrace.2
@@ -2,7 +2,7 @@
.\" $NetBSD: ptrace.2,v 1.2 1995/02/27 12:35:37 cgd Exp $
.\"
.\" This file is in the public domain.
-.Dd June 11, 2017
+.Dd September 14, 2017
.Dt PTRACE 2
.Os
.Sh NAME
@@ -762,6 +762,28 @@ The
.Fa data
argument is ignored.
.El
+.Sh ARM MACHINE-SPECIFIC REQUESTS
+.Bl -tag -width "Dv PT_SETVFPREGS"
+.It Dv PT_GETVFPREGS
+Return the thread's
+.Dv VFP
+machine state in the buffer pointed to by
+.Fa addr .
+.Pp
+The
+.Fa data
+argument is ignored.
+.It Dv PT_SETVFPREGS
+Set the thread's
+.Dv VFP
+machine state from the buffer pointed to by
+.Fa addr .
+.Pp
+The
+.Fa data
+argument is ignored.
+.El
+.Pp
.Sh x86 MACHINE-SPECIFIC REQUESTS
.Bl -tag -width "Dv PT_GETXSTATE_INFO"
.It Dv PT_GETXMMREGS
OpenPOWER on IntegriCloud