From owner-freebsd-hackers Wed Oct 3 20: 0:19 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from saturn.bsdhome.com (unknown [24.25.2.113]) by hub.freebsd.org (Postfix) with ESMTP id 1F5FB37B401 for ; Wed, 3 Oct 2001 20:00:15 -0700 (PDT) Received: from neutrino.bsdhome.com (jupiter [192.168.220.13]) by saturn.bsdhome.com (8.11.3nb1/8.11.4) with ESMTP id f942xpk23967; Wed, 3 Oct 2001 22:59:52 -0400 (EDT) Received: (from bsd@localhost) by neutrino.bsdhome.com (8.11.6/8.11.6) id f942xjn01741; Wed, 3 Oct 2001 22:59:45 -0400 (EDT) (envelope-from bsd) Date: Wed, 3 Oct 2001 22:59:45 -0400 From: Brian Dean To: Zhihui Zhang Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: hardware watch point support Message-ID: <20011003225945.A94118@neutrino.bsdhome.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from zzhang@cs.binghamton.edu on Wed, Oct 03, 2001 at 04:24:26PM -0400 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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