diff options
author | obrien <obrien@FreeBSD.org> | 2000-02-12 18:33:54 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2000-02-12 18:33:54 +0000 |
commit | 098aba556067233d45c3ec1f109dfe12d4cc87a5 (patch) | |
tree | 47c6d6a6a03e95915c6f8fa14cee7a751d988faf /lib/libc/sys/ptrace.2 | |
parent | ce3ac581a39661c68d153da77856c5e521e5e322 (diff) | |
download | FreeBSD-src-098aba556067233d45c3ec1f109dfe12d4cc87a5.zip FreeBSD-src-098aba556067233d45c3ec1f109dfe12d4cc87a5.tar.gz |
Document the support in the kernel for hardware debug registers on the
ix86 platform which allows for hardware watchpoints, etc...
Submitted by: Brian Dean <brdean@unx.sas.com>
Diffstat (limited to 'lib/libc/sys/ptrace.2')
-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 37eca05..551f41d 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 |