From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27222 invoked by alias); 9 Oct 2013 12:58:22 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 27212 invoked by uid 89); 9 Oct 2013 12:58:22 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-3.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-ie0-f169.google.com Received: from mail-ie0-f169.google.com (HELO mail-ie0-f169.google.com) (209.85.223.169) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Wed, 09 Oct 2013 12:58:21 +0000 Received: by mail-ie0-f169.google.com with SMTP id tp5so1695176ieb.0 for ; Wed, 09 Oct 2013 05:58:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=tH6JnFf4H3eVYo7IPjmSy0kVoc/wfvu78kwRY3L2cyg=; b=EAR/J6dUc1WEwir3Sz8jXRm4DuC5uheCDpUEueam6wLz1zkia4GjDQswagdhrf8J5a bUwPtW+TyKI1eXUIaHd/FSJjkSAMAl8fpxMao5slXCmYBVyT9cIu9xadVSpS9uJegCGa /AEoaT1toVZjEsGdL2mjcihbnNdXEU3XsF0Donu4tVY/LE1/iOvNTpU6Eij//BiOiEUB y62N2ygNoKh3RTuL6IPsI5pvZf6afM7boKwANbO12q1Hbn/DWvuttjRXqsRtkjgi9iVH zywQmuQt6Uex2X0bU23PXQMDYvwYDlB6lXmwvT1Q1kLqD4ZbsXz9bVU2ApNftTB+L5T1 YQ6g== X-Gm-Message-State: ALoCoQn0yNIknM/IplREwR7UimKXtxeJHkEtaLK02W4r9cuecoPZSa1bBgaI/8CCAXdsz1JP6IYB MIME-Version: 1.0 X-Received: by 10.42.172.67 with SMTP id m3mr4617291icz.21.1381323499955; Wed, 09 Oct 2013 05:58:19 -0700 (PDT) Received: by 10.64.20.52 with HTTP; Wed, 9 Oct 2013 05:58:19 -0700 (PDT) In-Reply-To: <87d2nebocs.fsf@oracle.com> References: <87d2nebocs.fsf@oracle.com> Date: Wed, 09 Oct 2013 12:58:00 -0000 Message-ID: Subject: Re: [PATCH] testsuite: skip morestack.exp in sparc targets From: Will Newton To: "Jose E. Marchesi" Cc: "gdb-patches@sourceware.org" Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes X-SW-Source: 2013-10/txt/msg00267.txt.bz2 On 9 October 2013 13:49, Jose E. Marchesi wrote: > > 2013-10-09 Jose E. Marchesi > > * gdb.base/morestack.exp: Skip test in sparc targets, where > -fsplit-stack is not supported. > > Index: testsuite/gdb.base/morestack.exp > =================================================================== > RCS file: /cvs/src/src/gdb/testsuite/gdb.base/morestack.exp,v > retrieving revision 1.5 > diff -u -r1.5 morestack.exp > --- testsuite/gdb.base/morestack.exp 27 Jun 2013 18:51:31 -0000 1.5 > +++ testsuite/gdb.base/morestack.exp 9 Oct 2013 12:43:55 -0000 > @@ -13,6 +13,12 @@ > # You should have received a copy of the GNU General Public License > # along with this program. If not, see . > > +# This test does not work on targets for which -fsplit-stack is not > +# supported. > +if { [istarget sparc*-*-linux-gnu] } { > + return > +} > + > if [get_compiler_info] { > return -1 > } It might be simpler just to enable for the targets that do support -fsplit-stack: if { ![istarget i?86-*-*] && ![istarget x86_64-*-* ] } { return } -- Will Newton Toolchain Working Group, Linaro