From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24846 invoked by alias); 12 Dec 2006 22:58:58 -0000 Received: (qmail 24822 invoked by uid 22791); 12 Dec 2006 22:58:56 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Tue, 12 Dec 2006 22:58:47 +0000 Received: from drow by nevyn.them.org with local (Exim 4.63) (envelope-from ) id 1GuGaB-0001sb-V4; Tue, 12 Dec 2006 17:58:44 -0500 Date: Tue, 12 Dec 2006 22:58:00 -0000 From: Daniel Jacobowitz To: zubrowa Cc: gdb@sources.redhat.com Subject: Re: Watchpoints in GDB Message-ID: <20061212225843.GA7211@nevyn.them.org> Mail-Followup-To: zubrowa , gdb@sources.redhat.com References: <7843781.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7843781.post@talk.nabble.com> User-Agent: Mutt/1.5.13 (2006-08-11) X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-12/txt/msg00109.txt.bz2 On Tue, Dec 12, 2006 at 02:57:30PM -0800, zubrowa wrote: > > Hi, > > I want to see any changes that are performed to a specific memory > area. So, I set a watchpoint with wa *(int*)0xXXXX and continue the > execution. Then, I get the GDB errror message: > > Can't clear hardware watchpoints without the 'Z2' (write-watchpoint) packet > > Any ideas what's wrong? The error message is not helpful, but the problem is usually that your remote target does not support watchpoints. I believe the error message is somewhat improved in HEAD gdb. -- Daniel Jacobowitz CodeSourcery