From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4213 invoked by alias); 13 Jun 2006 13:11:23 -0000 Received: (qmail 4154 invoked by uid 22791); 13 Jun 2006 13:11:22 -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, 13 Jun 2006 13:11:17 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1Fq8fl-0001GD-Pi; Tue, 13 Jun 2006 09:11:09 -0400 Date: Tue, 13 Jun 2006 13:11:00 -0000 From: Daniel Jacobowitz To: Wu Zhou Cc: Nathan Sidwell , gdb-patches@sourceware.org Subject: Re: adjust watchpoint testing Message-ID: <20060613131109.GB4737@nevyn.them.org> Mail-Followup-To: Wu Zhou , Nathan Sidwell , gdb-patches@sourceware.org References: <4489E0D8.2000702@codesourcery.com> <448D98E7.7030806@codesourcery.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.11+cvs20060403 X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-06/txt/msg00178.txt.bz2 On Tue, Jun 13, 2006 at 02:12:30PM +0800, Wu Zhou wrote: > I am now using a test and trial method. If rwatch command reports that > this type of hw watchpoint is not supported, then I will assume this > target don't support hardware watchpoint; if it replys with a message > "Hardware read watchpoint...", then I assume it is supported. But I > don't figure out how to get precisely how many hw watchpoints the > target support? How did you make that? Can you share your idea with > me? Thanks a lot! This is the right way to do it in the testsuite. Nathan's suggestion just makes it easier for GDB to give the right responses when doing this on a remote target. -- Daniel Jacobowitz CodeSourcery