Deleted Added
full compact
i386_set_watch.3 (66174) i386_set_watch.3 (79754)
1.\" Copyright (c) 2000 Brian S. Dean
2.\" All rights reserved.
3.\"
4.\" This man-page is based on a similar man-page by Jonathan Lemon
5.\" which is copyrighted under the following conditions:
6.\"
7.\" Redistribution and use in source and binary forms, with or without
8.\" modification, are permitted provided that the following conditions

--- 11 unchanged lines hidden (view full) ---

20.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26.\" SUCH DAMAGE.
27.\"
1.\" Copyright (c) 2000 Brian S. Dean
2.\" All rights reserved.
3.\"
4.\" This man-page is based on a similar man-page by Jonathan Lemon
5.\" which is copyrighted under the following conditions:
6.\"
7.\" Redistribution and use in source and binary forms, with or without
8.\" modification, are permitted provided that the following conditions

--- 11 unchanged lines hidden (view full) ---

20.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26.\" SUCH DAMAGE.
27.\"
28.\" $FreeBSD: head/lib/libc/i386/sys/i386_set_watch.3 66174 2000-09-21 17:07:27Z bsd $
28.\" $FreeBSD: head/lib/libc/i386/sys/i386_set_watch.3 79754 2001-07-15 07:53:42Z dd $
29.\"
30.Dd August 24, 2000
31.Os
32.Dt I386_SET_WATCH 3
33.Sh NAME
34.Nm i386_clr_watch ,
35.Nm i386_set_watch
36.Nd manage i386 debug register values

--- 13 unchanged lines hidden (view full) ---

50.Pp
51.Fn i386_set_watch
52will set up the specified debug registers as indicated by the
53parameters. The
54.Fa watchnum
55argument specifies which watch register is used, 0, 1, 2, 3, or -1. If
56.Fa watchnum
57is -1, a free watch register is found and used. If there are no free
29.\"
30.Dd August 24, 2000
31.Os
32.Dt I386_SET_WATCH 3
33.Sh NAME
34.Nm i386_clr_watch ,
35.Nm i386_set_watch
36.Nd manage i386 debug register values

--- 13 unchanged lines hidden (view full) ---

50.Pp
51.Fn i386_set_watch
52will set up the specified debug registers as indicated by the
53parameters. The
54.Fa watchnum
55argument specifies which watch register is used, 0, 1, 2, 3, or -1. If
56.Fa watchnum
57is -1, a free watch register is found and used. If there are no free
58watch registers, an error code of -1 is returned.
58watch registers, an error code of -1 is returned.
59.Fa Watchaddr
59.Fa Watchaddr
60specifies the watch address,
60specifies the watch address,
61.Fa size
62specifies the size in bytes of the area to be watched (1, 2, or 4 bytes),
63and
64.Fa access
65specifes the type of watch point:
66.Pp
67.Bd -literal -offset indent -compact
68DBREG_DR7_EXEC An execution breakpoint.

--- 35 unchanged lines hidden ---
61.Fa size
62specifies the size in bytes of the area to be watched (1, 2, or 4 bytes),
63and
64.Fa access
65specifes the type of watch point:
66.Pp
67.Bd -literal -offset indent -compact
68DBREG_DR7_EXEC An execution breakpoint.

--- 35 unchanged lines hidden ---