From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19404 invoked by alias); 12 Aug 2003 22:16:17 -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 19397 invoked from network); 12 Aug 2003 22:16:17 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 12 Aug 2003 22:16:17 -0000 Received: from int-mx2.corp.redhat.com (nat-pool-rdu-dmz.redhat.com [172.16.52.200] (may be forged)) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id h7CMGGt17828 for ; Tue, 12 Aug 2003 18:16:16 -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 h7CMGFL15511; Tue, 12 Aug 2003 18:16:15 -0400 Received: from redhat.com (reddwarf.sfbay.redhat.com [172.16.24.50]) by potter.sfbay.redhat.com (8.11.6/8.11.6) with ESMTP id h7CMGEO08723; Tue, 12 Aug 2003 15:16:14 -0700 Message-ID: <3F39672E.6080508@redhat.com> Date: Tue, 12 Aug 2003 22:16:00 -0000 From: Michael Snyder User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Elena Zannoni CC: gdb-patches@sources.redhat.com Subject: Re: [ping] Re: Add sh target to float.exp References: <3F26EDCB.1090106@redhat.com> <3F381EBD.2000405@redhat.com> <16184.14574.897103.24943@localhost.redhat.com> In-Reply-To: <16184.14574.897103.24943@localhost.redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-08/txt/msg00212.txt.bz2 Elena Zannoni wrote: >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. > All right. I had originally included dr0, until I realized that some versions have fp but not dp regs. > >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" > > } > > >