From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16858 invoked by alias); 10 Nov 2005 00:59:26 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 16842 invoked by uid 22791); 10 Nov 2005 00:59:25 -0000 Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Thu, 10 Nov 2005 00:59:25 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1Ea0mX-0002lz-VA; Wed, 09 Nov 2005 19:59:14 -0500 Date: Thu, 10 Nov 2005 00:59:00 -0000 From: Daniel Jacobowitz To: Jim Blandy Cc: Wu Zhou , Mark Kettenis , gdb@sources.redhat.com Subject: Re: The root cause for SEGV in evaluating fortran function call, any solution or suggestion? Message-ID: <20051110005913.GA10619@nevyn.them.org> Mail-Followup-To: Jim Blandy , Wu Zhou , Mark Kettenis , gdb@sources.redhat.com References: <20051102145258.GA28372@nevyn.them.org> <200511032134.jA3LYDsT017248@elgar.sibelius.xs4all.nl> <20051107000949.GD19200@nevyn.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.8i X-SW-Source: 2005-11/txt/msg00211.txt.bz2 On Wed, Nov 09, 2005 at 04:55:27PM -0800, Jim Blandy wrote: > > Daniel Jacobowitz writes: > > Maybe if you pass the sp value by reference to value_arg_coerce and > > adjust it there... > > Or you could pass a regcache. We're not trying to adjust the saved sp in the regcache, but the interim SP being used in setting up the function - it's not in the regcache until much later (after push_dummy_call). -- Daniel Jacobowitz CodeSourcery, LLC