[RFA] ppc-linux-nat.c: Don't use regmap[] anymore.

Elena Zannoni ezannoni@cygnus.com
Thu Nov 29 18:14:00 GMT 2001


Kevin Buettner writes:
 > 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

Committed.

Elena



More information about the Gdb-patches mailing list