From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12429 invoked by alias); 11 Sep 2008 18:12:01 -0000 Received: (qmail 12420 invoked by uid 22791); 11 Sep 2008 18:12:00 -0000 X-Spam-Check-By: sourceware.org Received: from mtagate2.de.ibm.com (HELO mtagate2.de.ibm.com) (195.212.17.162) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 11 Sep 2008 18:11:16 +0000 Received: from d12nrmr1607.megacenter.de.ibm.com (d12nrmr1607.megacenter.de.ibm.com [9.149.167.49]) by mtagate2.de.ibm.com (8.13.1/8.13.1) with ESMTP id m8BIBBSC018642 for ; Thu, 11 Sep 2008 18:11:11 GMT Received: from d12av02.megacenter.de.ibm.com (d12av02.megacenter.de.ibm.com [9.149.165.228]) by d12nrmr1607.megacenter.de.ibm.com (8.13.8/8.13.8/NCO v9.1) with ESMTP id m8BIBBrn3461276 for ; Thu, 11 Sep 2008 20:11:11 +0200 Received: from d12av02.megacenter.de.ibm.com (loopback [127.0.0.1]) by d12av02.megacenter.de.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id m8BIBBC3008025 for ; Thu, 11 Sep 2008 20:11:11 +0200 Received: from tuxmaker.boeblingen.de.ibm.com (tuxmaker.boeblingen.de.ibm.com [9.152.85.9]) by d12av02.megacenter.de.ibm.com (8.12.11.20060308/8.12.11) with SMTP id m8BIBBNr007816; Thu, 11 Sep 2008 20:11:11 +0200 Message-Id: <200809111811.m8BIBBNr007816@d12av02.megacenter.de.ibm.com> Received: by tuxmaker.boeblingen.de.ibm.com (sSMTP sendmail emulation); Thu, 11 Sep 2008 20:10:50 +0200 Subject: Re: [commit] Fix testcase for SPU (Re: [RFA/testsuite] stack check) To: guitton@adacore.com (Jerome Guitton) Date: Thu, 11 Sep 2008 18:12:00 -0000 From: "Ulrich Weigand" Cc: gdb-patches@sourceware.org In-Reply-To: <20080911163439.GB35787@adacore.com> from "Jerome Guitton" at Sep 11, 2008 06:34:39 PM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 X-SW-Source: 2008-09/txt/msg00238.txt.bz2 Jeroms Guitton wrote: > Ulrich Weigand (uweigand@de.ibm.com): > > > Jerome Guitton wrote: > > > > > void big_frame () > > > { > > > char S [524188]; > > > small_frame (); > > > } > > > > This breaks on the SPU where we only have 256 KB local store. > > > Sorry about that. I guess that this may break other configurations; > maybe we should enable this test on a limited set of targets? Hmm, the GCC testsuite supports a gcc,stack_size target_info property and modified the behaviour of some test cases depending on that info. Maybe we want to use something like that in GDB as well ... But for now, I'd be fine with either leaving this particular as is and see if other platforms complain, or else restrict it only those platforms it is supposed to be testing (the particular levels of frame size where prologue code generation changes is platform-specific anyway). Bye, Ulrich -- Dr. Ulrich Weigand GNU Toolchain for Linux on System z and Cell BE Ulrich.Weigand@de.ibm.com