From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14565 invoked by alias); 28 Jul 2004 00:13:03 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 14515 invoked from network); 28 Jul 2004 00:12:59 -0000 Received: from unknown (HELO barry.mail.mindspring.net) (207.69.200.25) by sourceware.org with SMTP; 28 Jul 2004 00:12:59 -0000 Received: from user-119a90a.biz.mindspring.com ([66.149.36.10] helo=berman.michael-chastain.com) by barry.mail.mindspring.net with esmtp (Exim 3.33 #1) id 1Bpc3q-00001i-00; Tue, 27 Jul 2004 20:12:46 -0400 Received: from mindspring.com (localhost [127.0.0.1]) by berman.michael-chastain.com (Postfix) with SMTP id 612354B102; Tue, 27 Jul 2004 20:12:44 -0400 (EDT) Date: Wed, 28 Jul 2004 00:13:00 -0000 From: Michael Chastain To: jjohnstn@redhat.com, drow@false.org Subject: Re: [RFA]: threaded watchpoint test Cc: gdb-patches@sources.redhat.com Message-ID: <4106EF7A.nail46S11RRBB@mindspring.com> References: <4106A553.7010202@redhat.com> <20040727230053.GA31203@nevyn.them.org> <4106E42F.3010304@redhat.com> <20040727232634.GA32379@nevyn.them.org> In-Reply-To: <20040727232634.GA32379@nevyn.them.org> User-Agent: nail 10.8 6/28/04 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2004-07/txt/msg00409.txt.bz2 > OK. Unfortunately I don't think this test is conclusive; unix.exp will > always claim to have hardware watchpoints, and on many systems it does > not (for instance powerpc-linux). If that turns out to be true we can > introduce gdb_has_hardware_watchpoints or something along those lines. Yeah, I'm a bit leery of "set_board_info gdb,no_hardware_watchpoints" but it already exists (although not used for that purpose). I missed something, though: if [target_info exists gdb,no_hardware_watchpoints] { return 0; } Perhaps there should be an UNSUPPORTED in there before the "return 0": unsupported "hardware watchpoints on this target" Daniel, what do you think? Michael C