From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21192 invoked by alias); 12 Aug 2003 00:38:54 -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 21182 invoked from network); 12 Aug 2003 00:38:53 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 12 Aug 2003 00:38:53 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id h7C0crt29413 for ; Mon, 11 Aug 2003 20:38:53 -0400 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [172.16.52.156]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h7C0crs19093; Mon, 11 Aug 2003 20:38:53 -0400 Received: from localhost.redhat.com (porkchop.devel.redhat.com [172.16.58.2]) by pobox.corp.redhat.com (8.12.8/8.12.8) with ESMTP id h7C0cqWt026512; Mon, 11 Aug 2003 20:38:53 -0400 Received: by localhost.redhat.com (Postfix, from userid 469) id 23E892CB2C; Mon, 11 Aug 2003 20:46:39 -0400 (EDT) From: Elena Zannoni MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16184.14574.897103.24943@localhost.redhat.com> Date: Tue, 12 Aug 2003 00:38:00 -0000 To: Michael Snyder Cc: gdb-patches@sources.redhat.com Subject: Re: [ping] Re: Add sh target to float.exp In-Reply-To: <3F381EBD.2000405@redhat.com> References: <3F26EDCB.1090106@redhat.com> <3F381EBD.2000405@redhat.com> X-SW-Source: 2003-08/txt/msg00185.txt.bz2 Michael Snyder writes: > > Ping, and revised per feedback: > OK, but can you add a test on some other register? At least fr1 to make sure we at least get past the output of the first float value. You could also add fr15. elena > > 2003-07-29 Michael Snyder > > * gdb.base/float.exp: Add test for SH. > > Index: float.exp > =================================================================== > RCS file: /cvs/src/src/gdb/testsuite/gdb.base/float.exp,v > retrieving revision 1.5 > diff -p -r1.5 float.exp > *** float.exp 6 Jul 2003 22:27:34 -0000 1.5 > --- float.exp 11 Aug 2003 22:53:41 -0000 > *************** if { [istarget "alpha*-*-*"] } then { > *** 63,68 **** > --- 63,78 ---- > gdb_test "info float" "f0.*f1.*f127.*" "info float" > } elseif [istarget "m68k-*-*"] then { > gdb_test "info float" "fp0.*fp1.*fp7.*" "info float" > + } elseif [istarget "sh*-*"] then { > + # SH may or may not have an FPU > + gdb_test_multiple "info float" "info float" { > + -re "fpul.*fr0.*$gdb_prompt $" { > + pass "info float (with FPU)" > + } > + -re "No floating.point info available for this processor.*" { > + pass "info float (without FPU)" > + } > + } > } else { > gdb_test "info float" "No floating.point info available for this processor." "info float" > }