From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26640 invoked by alias); 12 Aug 2003 22:28:05 -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 26632 invoked from network); 12 Aug 2003 22:28:05 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 12 Aug 2003 22:28:05 -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 h7CMS4t20204 for ; Tue, 12 Aug 2003 18:28:04 -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 h7CMS3L15957; Tue, 12 Aug 2003 18:28:03 -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 h7CMS3O09372; Tue, 12 Aug 2003 15:28:03 -0700 Message-ID: <3F3969F3.1010909@redhat.com> Date: Tue, 12 Aug 2003 22:28: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: multipart/mixed; boundary="------------080603030605020405020600" X-SW-Source: 2003-08/txt/msg00214.txt.bz2 This is a multi-part message in MIME format. --------------080603030605020405020600 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-length: 283 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. > Committed like this: --------------080603030605020405020600 Content-Type: text/plain; name="float.exp.test" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="float.exp.test" Content-length: 1084 2003-08-12 Michael Snyder * gdb.base/float.exp: Add test for SH. Index: gdb.base/float.exp =================================================================== RCS file: /cvs/src/src/gdb/testsuite/gdb.base/float.exp,v retrieving revision 1.5 diff -p -r1.5 float.exp *** gdb.base/float.exp 6 Jul 2003 22:27:34 -0000 1.5 --- gdb.base/float.exp 12 Aug 2003 22:26:45 -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.*fr1.*fr15.*$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" } --------------080603030605020405020600--