From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3827 invoked by alias); 18 Aug 2008 10:10:41 -0000 Received: (qmail 3740 invoked by uid 22791); 18 Aug 2008 10:10:40 -0000 X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 18 Aug 2008 10:10:04 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id D57292A9738; Mon, 18 Aug 2008 06:10:02 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id omoSxfJWM3o6; Mon, 18 Aug 2008 06:10:02 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 03F3B2A9735; Mon, 18 Aug 2008 06:10:02 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id 0B9AAE7ACD; Mon, 18 Aug 2008 12:09:55 +0200 (CEST) Date: Mon, 18 Aug 2008 10:10:00 -0000 From: Joel Brobecker To: Aleksandar Ristovski , gdb-patches@sources.redhat.com, Jerome Guitton Subject: Re: Powerpc skip prologue Message-ID: <20080818100954.GB16894@adacore.com> References: <20080809141651.GB4936@adacore.com> <20080809161131.GA9444@caradoc.them.org> <20080810024455.GF4936@adacore.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080810024455.GF4936@adacore.com> User-Agent: Mutt/1.4.2.2i 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-08/txt/msg00467.txt.bz2 Hi Daniel, > > 2008-08-09 Daniel Jacobowitz > > > > * rs6000-tdep.c (struct rs6000_framedata): Add gpr_mask, used_bl, > > lr_register. > > (rs6000_in_function_epilogue_p): Check for bctr. > > (skip_prologue): Initialize lr_register. Set lr_reg to a register > > number. Set gpr_mask and used_bl. Continue scanning while some > > expected registers are not saved. Set lr_register if LR is not > > stored. > > (rs6000_frame_cache): Handle gpr_mask and lr_register. > > > > * gdb.arch/powerpc-prologue.exp: Correct saved registers. > > This tested OK on ppc-linux :-). Can we commit this change? I don't mind at all doing it for you, but I thought that doing it unilaterally was bad form :). -- Joel