This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] ppc-linux-nat.c: Don't use regmap[] anymore.
- From: Kevin Buettner <kevinb at redhat dot com>
- To: Elena Zannoni <ezannoni at cygnus dot com>, gdb-patches at sources dot redhat dot com
- Date: Thu, 29 Nov 2001 13:57:38 -0700
- Subject: Re: [RFA] ppc-linux-nat.c: Don't use regmap[] anymore.
- References: <15362.34742.58613.695856@krustylu.cygnus.com>
On Nov 26, 1:19pm, Elena Zannoni wrote:
> 2001-11-26 Elena Zannoni <ezannoni@redhat.com>
>
> * Makefile.in (ppc-linux-nat.o): Add dependency on ppc-tdep.h.
>
> * ppc-tdep.h (PPC_GPLAST_REGNUM): Define.
>
> * ppc-linux-nat.c: Include ppc-tdep.h.
> (ppc_register_u_addr): Don't use the static array regmap[],
> dynamically define the mapping instead.
> (supply_gregset): Ditto.
> (fill_gregset): Ditto.
> (COPY_REG): Delete macro defintion.
> (regmap): Delete array.
Now that I've seen Elena's WIP patch, I understand the reasons for doing
this.
Approved.
Kevin