Changeset View
Changeset View
Standalone View
Standalone View
lib/libc/sys/ptrace.2
.\" $FreeBSD$ | .\" $FreeBSD$ | ||||
.\" $NetBSD: ptrace.2,v 1.2 1995/02/27 12:35:37 cgd Exp $ | .\" $NetBSD: ptrace.2,v 1.2 1995/02/27 12:35:37 cgd Exp $ | ||||
.\" | .\" | ||||
.\" This file is in the public domain. | .\" This file is in the public domain. | ||||
.Dd July 15, 2019 | .Dd April 10, 2021 | ||||
.Dt PTRACE 2 | .Dt PTRACE 2 | ||||
.Os | .Os | ||||
.Sh NAME | .Sh NAME | ||||
.Nm ptrace | .Nm ptrace | ||||
.Nd process tracing and debugging | .Nd process tracing and debugging | ||||
.Sh LIBRARY | .Sh LIBRARY | ||||
.Lb libc | .Lb libc | ||||
.Sh SYNOPSIS | .Sh SYNOPSIS | ||||
▲ Show 20 Lines • Show All 788 Lines • ▼ Show 20 Lines | |||||
.Va pve_start | .Va pve_start | ||||
and extends up to | and extends up to | ||||
.Va pve_end | .Va pve_end | ||||
(inclusive). | (inclusive). | ||||
.Pp | .Pp | ||||
The | The | ||||
.Fa data | .Fa data | ||||
argument is ignored. | argument is ignored. | ||||
.It Dv PT_COREDUMP | |||||
This request creates a coredump for the stopped program. | |||||
.Fa addr | |||||
argument specifies a pointer to a | |||||
.Vt "struct ptrace_coredump" , | |||||
which is defined as follows: | |||||
.Bd -literal | |||||
struct ptrace_coredump { | |||||
TODO; | |||||
}; | |||||
.Ed | |||||
.Pp | |||||
The size of the structmust be passed in | |||||
kib: of the
.Vt struct ptrace_coredump | |||||
.Fa data . | |||||
.El | .El | ||||
.Sh ARM MACHINE-SPECIFIC REQUESTS | .Sh ARM MACHINE-SPECIFIC REQUESTS | ||||
.Bl -tag -width "Dv PT_SETVFPREGS" | .Bl -tag -width "Dv PT_SETVFPREGS" | ||||
.It Dv PT_GETVFPREGS | .It Dv PT_GETVFPREGS | ||||
Return the thread's | Return the thread's | ||||
.Dv VFP | .Dv VFP | ||||
machine state in the buffer pointed to by | machine state in the buffer pointed to by | ||||
.Fa addr . | .Fa addr . | ||||
▲ Show 20 Lines • Show All 354 Lines • Show Last 20 Lines |
of the
.Vt struct ptrace_coredump