diff options
| author | Brian S. Dean <bsd@FreeBSD.org> | 2006-05-03 17:33:29 +0000 |
|---|---|---|
| committer | Brian S. Dean <bsd@FreeBSD.org> | 2006-05-03 17:33:29 +0000 |
| commit | de76bc360978aa81869f4c93ac1769902435e1ee (patch) | |
| tree | 256f9255ffce1ff1bb9475d4b3e9dd9dea803571 /lib | |
| parent | d279e434426fc1bdccfcf20578b4b3a7921fafbb (diff) | |
Notes
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/libc/i386/sys/i386_set_watch.3 | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/lib/libc/i386/sys/i386_set_watch.3 b/lib/libc/i386/sys/i386_set_watch.3 index 15b8497acc95..e3195fc4d7d6 100644 --- a/lib/libc/i386/sys/i386_set_watch.3 +++ b/lib/libc/i386/sys/i386_set_watch.3 @@ -86,24 +86,24 @@ You must use .Xr ptrace 2 to retrieve and install the debug register values for a process. .Sh RETURN VALUES -The +On success, the .Fn i386_clr_watch -function -returns 0 on success, or -1 if +function returns 0. +On error, -1 returned which indicates that .Fa watchnum is invalid (not in the range of 0-3). +If the specified watchnum was already disabled, no error is returned. .Pp -The +On success, the .Fn i386_set_watch -function -will return the +function returns the .Fa watchnum -argument, or the watchnum actually used in the case that +argument, or the watchnum actually used in the case where the specified .Fa watchnum -is -1 on success. -On error, +was -1. +On error, the .Fn i386_set_watch -will return -1 indicating that the watchpoint could not be set up +function returns -1 indicating that the watchpoint could not established because either no more watchpoints are available, or .Fa watchnum , .Fa size , |
