freebsd-dev/gnu/usr.bin/binutils/gdb
Joerg Wunsch 22c68d23f5 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
..
alpha Add support for debugging programs using libc_r's implementation of 2000-04-29 09:03:49 +00:00
i386 Implement the GDB counterpart to use hardware watchpoints in connection 2000-08-17 16:27:26 +00:00
config.h * Add bmake framework for using gdb alongside binutils. The old bmake 1999-05-02 11:32:14 +00:00
freebsd-uthread.c Back out the previous change to the queue(3) interface. 2000-05-26 02:09:24 +00:00
gdb.1 $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
kvm-fbsd.c * Add bmake framework for using gdb alongside binutils. The old bmake 1999-05-02 11:32:14 +00:00
Makefile Pull the switch and activate our Binutils to a snapshot of the up and 2000-05-22 08:09:42 +00:00
Makefile.alpha $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
Makefile.i386 $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00