From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5322 invoked by alias); 12 Jun 2006 16:40:50 -0000 Received: (qmail 5313 invoked by uid 22791); 12 Jun 2006 16:40:48 -0000 X-Spam-Check-By: sourceware.org Received: from potter.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.4) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 12 Jun 2006 16:40:46 +0000 Received: (qmail 21491 invoked from network); 12 Jun 2006 16:40:45 -0000 Received: from unknown (HELO ?192.168.189.145?) (nathan@127.0.0.2) by mail.codesourcery.com with ESMTPA; 12 Jun 2006 16:40:45 -0000 Message-ID: <448D98E7.7030806@codesourcery.com> Date: Mon, 12 Jun 2006 16:40:00 -0000 From: Nathan Sidwell User-Agent: Mozilla Thunderbird 1.0.8 (X11/20060502) MIME-Version: 1.0 To: Wu Zhou CC: gdb-patches@sourceware.org Subject: Re: adjust watchpoint testing References: <4489E0D8.2000702@codesourcery.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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/msg00156.txt.bz2 Wu Zhou wrote: > Nathan, > > I had similar concerns about these watchpoint tests with you. However, > I'd like to propose a somewhat different solution. > This target-dependent feature might incur confusion some where. One > may have difficulty in knowing for sure what this case is trying to > test: s/w watchpoint, or h/w watchpoint, or both? If there are errors > reported, what type of watchpoint trigger that? To track into the root > cause, which code to look at? > > To clarify the situation, I propose to let recurse.exp based on totally on > software simulated watchpoint. This can be done easily, by using "set > can-use-hardware-watchpoint 0". Thanks for your comments. Over the weekend, I had a thought that the problem is the remote stub not telling gdb how many watchpoints it can support. I think this is a thing for qPacketInfo to deal with, and I can talk to Dan about that. nathan -- Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery nathan@codesourcery.com :: http://www.planetfall.pwp.blueyonder.co.uk