From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30430 invoked by alias); 9 Sep 2002 16:32:29 -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 30412 invoked from network); 9 Sep 2002 16:32:28 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 9 Sep 2002 16:32:28 -0000 Received: from int-mx2.corp.redhat.com (nat-pool-rdu-dmz.redhat.com [172.16.52.200]) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id g89GGB127605 for ; Mon, 9 Sep 2002 12:16:11 -0400 Received: from potter.sfbay.redhat.com (potter.sfbay.redhat.com [172.16.27.15]) by int-mx2.corp.redhat.com (8.11.6/8.11.6) with ESMTP id g89GWQd18177 for ; Mon, 9 Sep 2002 12:32:26 -0400 Received: from cygbert.vinschen.de (vpn50-27.rdu.redhat.com [172.16.50.27]) by potter.sfbay.redhat.com (8.11.6/8.11.6) with ESMTP id g89GWNC31565 for ; Mon, 9 Sep 2002 09:32:23 -0700 Received: (from corinna@localhost) by cygbert.vinschen.de (8.11.6/8.9.3/Linux sendmail 8.9.3) id g89GWKo32722 for gdb-patches@sources.redhat.com; Mon, 9 Sep 2002 18:32:20 +0200 Date: Mon, 09 Sep 2002 09:32:00 -0000 From: Corinna Vinschen To: gdb-patches@sources.redhat.com Subject: [RFA] default.exp checks wrong string Message-ID: <20020909183220.Y1574@cygbert.vinschen.de> Mail-Followup-To: gdb-patches@sources.redhat.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.22.1i X-SW-Source: 2002-09/txt/msg00121.txt.bz2 Hi, the following patch fixes a wrong check in default.exp. While the function infcmd.c:print_float_info() prints "No floating-point info available for this processor." the corresponding check in default.exp expects "No floating point info available for this processor." which can result in a failing test due to the missing dash. To keep it backward compatible, the below patch doesn't use a dash but a dot to allow any character at that point. ChangeLog: * gdb.base/default.exp: Fix expected string in `info float' test. Index: testsuite/gdb.base/default.exp =================================================================== RCS file: /cvs/src/src/gdb/testsuite/gdb.base/default.exp,v retrieving revision 1.12 diff -u -p -r1.12 default.exp --- testsuite/gdb.base/default.exp 8 May 2002 21:05:44 -0000 1.12 +++ testsuite/gdb.base/default.exp 9 Sep 2002 15:04:04 -0000 @@ -327,7 +327,7 @@ if { [istarget "arm*-*-*"] || \ } elseif [istarget "i\[3456\]86-*-*"] then { gdb_test "info float" "R7:.*Status Word:.*Opcode:.*" "info float" } else { - gdb_test "info float" "No floating point info available for this processor." "info float" + gdb_test "info float" "No floating.point info available for this processor." "info float" } #test info functions gdb_test "info functions" "All defined functions:" "info functions" Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:cygwin@cygwin.com Red Hat, Inc.