This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [rfa:rs6000] Simplify alloca reg fetch
- From: Kevin Buettner <kevinb at redhat dot com>
- To: Andrew Cagney <ac131313 at cygnus dot com>, gdb-patches at sources dot redhat dot com
- Date: Wed, 17 Apr 2002 15:55:09 -0700
- Subject: Re: [rfa:rs6000] Simplify alloca reg fetch
- References: <3CBDFB36.2030605@cygnus.com>
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 <ac131313@redhat.com>
>
> * rs6000-tdep.c (frame_initial_stack_address): Use
> frame_register_read to read the alloca_reg.
Okay.
Kevin