From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6412 invoked by alias); 13 Jun 2006 06:23:25 -0000 Received: (qmail 6404 invoked by uid 22791); 13 Jun 2006 06:23:24 -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; Tue, 13 Jun 2006 06:23:23 +0000 Received: (qmail 15436 invoked from network); 13 Jun 2006 06:23:21 -0000 Received: from unknown (HELO ?192.168.189.145?) (nathan@127.0.0.2) by mail.codesourcery.com with ESMTPA; 13 Jun 2006 06:23:21 -0000 Message-ID: <448E59AE.50507@codesourcery.com> Date: Tue, 13 Jun 2006 06:23: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> <448D98E7.7030806@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/msg00168.txt.bz2 Wu Zhou wrote: > Nathan, > > I see your code have such two lines: > > + if [target_info exists gdb,hardware_watchpoints] { > + set nwatch [target_info gdb,hardware_watchpoints] > > Where is this target_info variable set up? Did you set that somewhere in > the dejagnu package? I am very curious about how it is implemented. you need to add a line to the dejagnu board support file to initialize it. In just the same way as things like gdb,nosignals is set. nathan -- Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery nathan@codesourcery.com :: http://www.planetfall.pwp.blueyonder.co.uk