Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Oct 2001 22:59:45 -0400
From:      Brian Dean <bsd@bsdhome.com>
To:        Zhihui Zhang <zzhang@cs.binghamton.edu>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: hardware watch point support
Message-ID:  <20011003225945.A94118@neutrino.bsdhome.com>
In-Reply-To: <Pine.SOL.4.21.0110031621060.17568-100000@onyx>; from zzhang@cs.binghamton.edu on Wed, Oct 03, 2001 at 04:24:26PM -0400
References:  <Pine.SOL.4.21.0110031621060.17568-100000@onyx>

next in thread | previous in thread | raw e-mail | index | archive | help
Seems to work ok for a simple test case I just tried with 4-STABLE
(post 4.4-RELEASE).  I don't have a 4.3-RELEASE box to test, but it
should work there too.

-Brian


On Wed, Oct 03, 2001 at 04:24:26PM -0400, Zhihui Zhang wrote:

> Does FreeBSD 4.3-release support hardware watchpoint? If so, how to enable
> it? I tried something like:
> 
> (gdb) watch * 0xc28374d0
> Hardware watchpoint 4: * 3263395024
> (gdb) watch * (int32_t *) 3263427792
> Hardware watchpoint 5: *(int32_t *) 3263427792
> 
> But it does not seem to work well. Instead, I have to step through the
> code to see when a memory value is changed.
> 
> Thanks,
> 
> -Zhihui

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?20011003225945.A94118>