From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15612 invoked by alias); 17 Apr 2002 22:55:28 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 15605 invoked from network); 17 Apr 2002 22:55:25 -0000 Received: from unknown (HELO cygnus.com) (205.180.83.203) by sources.redhat.com with SMTP; 17 Apr 2002 22:55:25 -0000 Received: from romulus.sfbay.redhat.com (romulus.sfbay.redhat.com [172.16.27.251]) by runyon.cygnus.com (8.8.7-cygnus/8.8.7) with ESMTP id PAA21732; Wed, 17 Apr 2002 15:55:23 -0700 (PDT) Received: (from kev@localhost) by romulus.sfbay.redhat.com (8.11.6/8.11.6) id g3HMt9h04462; Wed, 17 Apr 2002 15:55:09 -0700 Date: Wed, 17 Apr 2002 15:55:00 -0000 From: Kevin Buettner Message-Id: <1020417225509.ZM4461@localhost.localdomain> In-Reply-To: Andrew Cagney "[rfa:rs6000] Simplify alloca reg fetch" (Apr 17, 6:46pm) References: <3CBDFB36.2030605@cygnus.com> To: Andrew Cagney , gdb-patches@sources.redhat.com Subject: Re: [rfa:rs6000] Simplify alloca reg fetch MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2002-04/txt/msg00574.txt.bz2 On Apr 17, 6:46pm, Andrew Cagney wrote: > The attatched replaces some hardwired code for fetching the alloca > register with a call to frame_register_read(). > > The code is equivalent (except for the case where, for some reason, the > register isn't available where the new code is more robust). > > (This is what was breaking the register cache code). > > 2002-04-17 Andrew Cagney > > * rs6000-tdep.c (frame_initial_stack_address): Use > frame_register_read to read the alloca_reg. Okay. Kevin