From owner-cvs-all Thu Aug 17 9:27:32 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 2F91437B70B; Thu, 17 Aug 2000 09:27:29 -0700 (PDT) Received: (from joerg@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id JAA77558; Thu, 17 Aug 2000 09:27:27 -0700 (PDT) (envelope-from joerg@FreeBSD.org) Message-Id: <200008171627.JAA77558@freefall.freebsd.org> From: Joerg Wunsch Date: Thu, 17 Aug 2000 09:27:27 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/gnu/usr.bin/binutils/gdb/i386 freebsd-nat.c nm.h X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 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