ptrace.2 (118780) | ptrace.2 (119893) |
---|---|
1.\" $FreeBSD: head/lib/libc/sys/ptrace.2 118780 2003-08-11 13:13:46Z iedowse $ | 1.\" $FreeBSD: head/lib/libc/sys/ptrace.2 119893 2003-09-08 19:57:22Z ru $ |
2.\" $NetBSD: ptrace.2,v 1.2 1995/02/27 12:35:37 cgd Exp $ 3.\" 4.\" This file is in the public domain. 5.Dd August 11, 2003 6.Dt PTRACE 2 7.Os 8.Sh NAME 9.Nm ptrace --- 182 unchanged lines hidden (view full) --- 192succeeds, the traced process is no longer traced and continues 193execution normally. 194.It Dv PT_GETREGS 195This request reads the traced process's machine registers into the 196.Do 197.Vt "struct reg" 198.Dc 199(defined in | 2.\" $NetBSD: ptrace.2,v 1.2 1995/02/27 12:35:37 cgd Exp $ 3.\" 4.\" This file is in the public domain. 5.Dd August 11, 2003 6.Dt PTRACE 2 7.Os 8.Sh NAME 9.Nm ptrace --- 182 unchanged lines hidden (view full) --- 192succeeds, the traced process is no longer traced and continues 193execution normally. 194.It Dv PT_GETREGS 195This request reads the traced process's machine registers into the 196.Do 197.Vt "struct reg" 198.Dc 199(defined in |
200.Aq Pa machine/reg.h ) | 200.In machine/reg.h ) |
201pointed to by 202.Fa addr . 203.It Dv PT_SETREGS 204This request is the converse of 205.Dv PT_GETREGS ; 206it loads the traced process's machine registers from the 207.Do 208.Vt "struct reg" 209.Dc 210(defined in | 201pointed to by 202.Fa addr . 203.It Dv PT_SETREGS 204This request is the converse of 205.Dv PT_GETREGS ; 206it loads the traced process's machine registers from the 207.Do 208.Vt "struct reg" 209.Dc 210(defined in |
211.Aq Pa machine/reg.h ) | 211.In machine/reg.h ) |
212pointed to by 213.Fa addr . 214.It Dv PT_GETFPREGS 215This request reads the traced process's floating-point registers into 216the 217.Do 218.Vt "struct fpreg" 219.Dc 220(defined in | 212pointed to by 213.Fa addr . 214.It Dv PT_GETFPREGS 215This request reads the traced process's floating-point registers into 216the 217.Do 218.Vt "struct fpreg" 219.Dc 220(defined in |
221.Aq Pa machine/reg.h ) | 221.In machine/reg.h ) |
222pointed to by 223.Fa addr . 224.It Dv PT_SETFPREGS 225This request is the converse of 226.Dv PT_GETFPREGS ; 227it loads the traced process's floating-point registers from the 228.Do 229.Vt "struct fpreg" 230.Dc 231(defined in | 222pointed to by 223.Fa addr . 224.It Dv PT_SETFPREGS 225This request is the converse of 226.Dv PT_GETFPREGS ; 227it loads the traced process's floating-point registers from the 228.Do 229.Vt "struct fpreg" 230.Dc 231(defined in |
232.Aq Pa machine/reg.h ) | 232.In machine/reg.h ) |
233pointed to by 234.Fa addr . 235.It Dv PT_GETDBREGS 236This request reads the traced process's debug registers into 237the 238.Do 239.Vt "struct dbreg" 240.Dc 241(defined in | 233pointed to by 234.Fa addr . 235.It Dv PT_GETDBREGS 236This request reads the traced process's debug registers into 237the 238.Do 239.Vt "struct dbreg" 240.Dc 241(defined in |
242.Aq Pa machine/reg.h ) | 242.In machine/reg.h ) |
243pointed to by 244.Fa addr . 245.It Dv PT_SETDBREGS 246This request is the converse of 247.Dv PT_GETDBREGS ; 248it loads the traced process's debug registers from the 249.Do 250.Vt "struct dbreg" 251.Dc 252(defined in | 243pointed to by 244.Fa addr . 245.It Dv PT_SETDBREGS 246This request is the converse of 247.Dv PT_GETDBREGS ; 248it loads the traced process's debug registers from the 249.Do 250.Vt "struct dbreg" 251.Dc 252(defined in |
253.Aq Pa machine/reg.h ) | 253.In machine/reg.h ) |
254pointed to by 255.Fa addr . 256.El 257.Pp 258Additionally, machine-specific requests can exist. 259.Sh RETURN VALUES 260Some requests can cause 261.Fn ptrace --- 85 unchanged lines hidden --- | 254pointed to by 255.Fa addr . 256.El 257.Pp 258Additionally, machine-specific requests can exist. 259.Sh RETURN VALUES 260Some requests can cause 261.Fn ptrace --- 85 unchanged lines hidden --- |