Subject: Re: devel/gdb6 and hardware watchpoints
To: David Howland <dhowland@users.sourceforge.net>
From: Christian Biere <christianbiere@gmx.de>
List: pkgsrc-users
Date: 10/19/2006 00:48:05
David Howland wrote:
> Does GDB6 from pkgsrc support hardware watchpoints on netbsd/i386?

Last time I tried it didn't. If at all the gdb which comes with NetBSD
would support it as this feature requires non-standardized functions
provided by the OS i.e., access to privileged CPU features. AFAIK, it
only works on Linux.

mprotect() can sometime be utilized as workaround e.g., if searching
for memory corruption bugs which manifest in predictable places.

-- 
Christian