From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13759 invoked by alias); 4 Jan 2012 14:01:44 -0000 Received: (qmail 13746 invoked by uid 22791); 4 Jan 2012 14:01:42 -0000 X-SWARE-Spam-Status: No, hits=-7.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 04 Jan 2012 14:01:24 +0000 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q04E19hg023833 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 4 Jan 2012 09:01:09 -0500 Received: from host2.jankratochvil.net (ovpn-116-32.ams2.redhat.com [10.36.116.32]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q04E15sp032242 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Wed, 4 Jan 2012 09:01:07 -0500 Date: Wed, 04 Jan 2012 14:01:00 -0000 From: Jan Kratochvil To: Ulrich Weigand , Joel Brobecker Cc: gdb-patches@sourceware.org Subject: [revert] Regression on PowerPC (Re: [patch] Fix gdb.cp/gdb2495.exp regression with gcc-4.7 #3) Message-ID: <20120104140104.GA22254@host2.jankratochvil.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120103155206.GM2730@adacore.com> <201201031444.q03Eir77009359@d06av02.portsmouth.uk.ibm.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-IsSubscribed: yes 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: 2012-01/txt/msg00132.txt.bz2 On Tue, 03 Jan 2012 15:44:53 +0100, Ulrich Weigand wrote: > This seems to have caused > > FAIL: gdb.cp/gdb2495.exp: Call a function that raises an exception without a handler. (timeout) Thanks for catching it. > Switching to the ON_STACK method fixes this for me. But I'm not sure > if there are other platforms beside PowerPC that have the same problem ... > Maybe we ought to default to ON_STACK (at least on Linux?)? Both AT_ENTRY_POINT solutions have some problems so I agree it is better to keep it as is before some complete fix is implemented. Reverted my patch: http://sourceware.org/ml/gdb-cvs/2012-01/msg00042.html and reverted it also from 7.4: http://sourceware.org/ml/gdb-cvs/2012-01/msg00043.html In fact the whole issue isn't so serious (exception thrown out of infcall). > Maybe there should be a default implementation based on > gdbarch_inner_than/gdbarch_frame_align_p and the breakpoint length? I will return to it in some time. On Tue, 03 Jan 2012 16:52:06 +0100, Joel Brobecker wrote: > It seems to me, at this point, that indeed the best way to solve > the original problem is to transition the GNU/Linux platforms to > ON_STACK. I agree, I am no longer aware how to solve it without depending on the stack space. Sorry, Jan