From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30119 invoked by alias); 11 Aug 2003 22:54:56 -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 30112 invoked from network); 11 Aug 2003 22:54:56 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 11 Aug 2003 22:54:56 -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 h7BMstt08539 for ; Mon, 11 Aug 2003 18:54:55 -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 h7BMssL20549 for ; Mon, 11 Aug 2003 18:54:54 -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 h7BMsrO28614; Mon, 11 Aug 2003 15:54:53 -0700 Message-ID: <3F381EBD.2000405@redhat.com> Date: Mon, 11 Aug 2003 22:54: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: Michael Snyder CC: gdb-patches@sources.redhat.com Subject: [ping] Re: Add sh target to float.exp References: <3F26EDCB.1090106@redhat.com> In-Reply-To: <3F26EDCB.1090106@redhat.com> Content-Type: multipart/mixed; boundary="------------000808070806070707080907" X-SW-Source: 2003-08/txt/msg00183.txt.bz2 This is a multi-part message in MIME format. --------------000808070806070707080907 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-length: 35 Ping, and revised per feedback: --------------000808070806070707080907 Content-Type: text/plain; name="float.exp.test" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="float.exp.test" Content-length: 1046 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" } --------------000808070806070707080907--