From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16299 invoked by alias); 29 Nov 2001 20:59:24 -0000 Mailing-List: contact gdb-patches-help@sourceware.cygnus.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 15657 invoked from network); 29 Nov 2001 20:58:04 -0000 Received: from unknown (HELO cygnus.com) (205.180.230.5) by hostedprojects.ges.redhat.com with SMTP; 29 Nov 2001 20:58:04 -0000 Received: from cse.cygnus.com (cse.cygnus.com [205.180.230.236]) by runyon.cygnus.com (8.8.7-cygnus/8.8.7) with ESMTP id MAA01755; Thu, 29 Nov 2001 12:58:02 -0800 (PST) Received: (from kev@localhost) by cse.cygnus.com (8.9.3/8.9.3) id NAA19236; Thu, 29 Nov 2001 13:57:38 -0700 Date: Mon, 19 Nov 2001 15:56:00 -0000 From: Kevin Buettner Message-Id: <1011129205738.ZM19235@ocotillo.lan> In-Reply-To: Elena Zannoni "[RFA] ppc-linux-nat.c: Don't use regmap[] anymore." (Nov 26, 1:19pm) References: <15362.34742.58613.695856@krustylu.cygnus.com> X-Mailer: Z-Mail (4.0.1 13Jan97 Caldera) To: Elena Zannoni , gdb-patches@sources.redhat.com Subject: Re: [RFA] ppc-linux-nat.c: Don't use regmap[] anymore. MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2001-11/txt/msg00350.txt.bz2 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 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