freebsd-dev/gnu
joerg c32f2e5df1 Implement the GDB counterpart to use hardware watchpoints in connection
with Brian's kernel support for i386 debug registers.  This makes
watchpoints actually usable for real-life problems.  Note: you can
only set watchpoints on 1-, 2- or 4-byte locations, gdb automatically
falls back to [sloooow] software watchpoints when attempting to use
them on variables which don't fit into this category.  To circumvent
this, one can use the following hack:

watch *(int *)0x<some address>

David O'Brien is IMHO considering to get this fully integrated into the
official GDB, but as long as we've got the i386/* files sitting around
in our private FreeBSD tree here, the feature can now be tested more
extensively, so i'm committing this for the time being.

This work has been done in order to debug a tix toolkit problem, thus
it has been sponsored by teh Deutsche Post AG.

Reviewed by:	bsd (not the operating system, but Brian :-)
2000-08-17 16:27:26 +00:00
..
include $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
lib Scoot things over to the temporary *.295 source while I do major construction 2000-06-04 06:56:23 +00:00
libexec IPv6 support. 2000-05-25 16:38:22 +00:00
usr.bin Implement the GDB counterpart to use hardware watchpoints in connection 2000-08-17 16:27:26 +00:00
usr.sbin $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
COPYING This commit was manufactured by cvs2svn to create branch 'JB'. 1998-01-10 23:00:07 +00:00
COPYING.LIB This commit was manufactured by cvs2svn to create branch 'JB'. 1998-01-10 23:00:07 +00:00
Makefile $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00