Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 03 Jul 1999 22:26:24 +0800
From:      Peter Wemm <peter@netplex.com.au>
To:        Thomas David Rivers <rivers@dignus.com>
Cc:        brdean@unx.sas.com, freebsd-hackers@FreeBSD.ORG
Subject:   Re: support for i386 hardware debug watch points 
Message-ID:  <19990703142624.ED06C64@overcee.netplex.com.au>
In-Reply-To: Your message of "Sat, 03 Jul 1999 10:06:23 -0400." <199907031406.KAA55948@lakes.dignus.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
Thomas David Rivers wrote:
> > 
> > Hi,
> > 
> > After recently debugging a very elusive memory overwrite problem that
> > I was only able to find by setting up a debugger watch point, and
> > suffering through the slowness that this introduced, I began reading
> > up on the ix86 support for hardware watch points.  Using this facility
> > of the chip would require OS support, and specifically, loading the
> > debug registers at context switch time.  Also, the 'ptrace' system
> > call could easily be extended to provide an interface for doing this
> > from user code.
> > 
> > Is there any interest in supporting something like this in FreeBSD?
> > I'm volunteering to spend some cycles on this, but I don't want to go
> > to the effort if there's little chance that the work would be
> > integrated.
> > 
> > Thanks,
> > -Brian
> > -- 
> > Brian Dean		SAS Institute Inc	brdean@unx.sas.com
> > 
> 
> 
>  Brian -
> 
>    Scan through the mail archives - I brought this up about this
>  time last year, I think...
> 
>    There were several responses - some people may be willing to
>  assist...

I'll chime in..  I'd be quite willing to bring something like this in,
assuming it was done reasonably cleanly.  It shouldn't be too hard to do it
without imparing portability across cpu/arch types.

I think this would be quite useful, especially if gdb could be made aware
of it too.

> 	- Dave Rivers -

Cheers,
-Peter
--
Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990703142624.ED06C64>