From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kevin Buettner To: Elena Zannoni , gdb-patches@sources.redhat.com Subject: Re: [RFA] ppc-linux-nat.c: Don't use regmap[] anymore. Date: Thu, 29 Nov 2001 12:59:00 -0000 Message-ID: <1011129205738.ZM19235@ocotillo.lan> References: <15362.34742.58613.695856@krustylu.cygnus.com> X-SW-Source: 2001-11/msg00565.html Message-ID: <20011129125900.22GBchv_G94ozMx5qRtb0jMk3eb8lRMrIiuaYiNxkfM@z> On Nov 26, 1:19pm, Elena Zannoni wrote: > 2001-11-26 Elena Zannoni > > * 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