Subject: Re: devel/gdb6 and hardware watchpoints
To: Christian Biere <christianbiere@gmx.de>
From: David Howland <dhowland@users.sourceforge.net>
List: netbsd-users
Date: 10/18/2006 20:13:50
Hmm, thats disappointing.

I did actually try it with the GDB that comes with the system.  Same 
problem.

-d

Christian Biere wrote:
> 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.
>