diff options
| author | David E. O'Brien <obrien@FreeBSD.org> | 2000-02-12 18:33:54 +0000 |
|---|---|---|
| committer | David E. O'Brien <obrien@FreeBSD.org> | 2000-02-12 18:33:54 +0000 |
| commit | ed0010ed097b27a228d9a2f31851671fce2e0d09 (patch) | |
| tree | 49b7e524bc05c5642d4ccb12e82efcbe52d2201c /lib | |
| parent | e7e960abeb9f061534dc673b325a61cb967099f9 (diff) | |
Notes
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/libc/sys/ptrace.2 | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/lib/libc/sys/ptrace.2 b/lib/libc/sys/ptrace.2 index 37eca05a3de7..551f41d1596f 100644 --- a/lib/libc/sys/ptrace.2 +++ b/lib/libc/sys/ptrace.2 @@ -202,6 +202,23 @@ it loads the traced process' floating-point registers from the .Aq Pa machine/reg.h ) pointed to by .Fa addr . +.It Dv PT_GETDBREGS +This request reads the traced process' debug registers into +the +.Dq Li "struct dbreg" +(defined in +.Aq Pa machine/reg.h ) +pointed to by +.Fa addr . +.It Dv PT_SETDBREGS +This request is the converse of +.Dv PT_GETDBREGS ; +it loads the traced process' debug registers from the +.Dq Li "struct dbreg" +(defined in +.Aq Pa machine/reg.h ) +pointed to by +.Fa addr . .El .Sh RETURN VALUES Some requests can cause @@ -250,8 +267,10 @@ was neither 0 nor a legal signal number. .Dv PT_GETREGS , .Dv PT_SETREGS , .Dv PT_GETFPREGS , +.Dv PT_SETFPREGS , +.Dv PT_GETDBREGS , or -.Dv PT_SETFPREGS +.Dv PT_SETDBREGS was attempted on a process with no valid register set. (This is normally true only of system processes.) .El |
