Date: Thu, 17 Aug 2000 09:27:27 -0700 (PDT) From: Joerg Wunsch <joerg@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/gnu/usr.bin/binutils/gdb/i386 freebsd-nat.c nm.h Message-ID: <200008171627.JAA77558@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
joerg 2000/08/17 09:27:27 PDT
Modified files:
gnu/usr.bin/binutils/gdb/i386 freebsd-nat.c nm.h
Log:
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 :-)
Revision Changes Path
1.23 +224 -1 src/gnu/usr.bin/binutils/gdb/i386/freebsd-nat.c
1.10 +33 -0 src/gnu/usr.bin/binutils/gdb/i386/nm.h
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200008171627.JAA77558>
