From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5847 invoked by alias); 4 May 2004 17:58:05 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 5834 invoked from network); 4 May 2004 17:58:04 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 4 May 2004 17:58:04 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.10/8.12.10) with ESMTP id i44Hw4kG009397 for ; Tue, 4 May 2004 13:58:04 -0400 Received: from zenia.home.redhat.com (porkchop.devel.redhat.com [172.16.58.2]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i44Hw2v04038; Tue, 4 May 2004 13:58:03 -0400 To: Kevin Buettner Cc: gdb-patches@sources.redhat.com Subject: Re: RFA: remove ppc-tdep.h's struct gdbarch_tdep's ppc_gplast_regnum References: <20040504085657.4e396d01@saguaro> From: Jim Blandy Date: Tue, 04 May 2004 17:58:00 -0000 In-Reply-To: <20040504085657.4e396d01@saguaro> Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2004-05/txt/msg00113.txt.bz2 Kevin Buettner writes: > On 03 May 2004 17:31:57 -0500 > Jim Blandy wrote: > > > 2004-05-03 Jim Blandy > > > > * config/ppc-tdep.h (struct gdbarch_tdep): Delete > > 'ppc_gplast_regnum' member. > > (ppc_num_gprs): New enum constant. > > * ppc-linux-nat.c (ppc_register_u_addr): Use tdep->ppc_gp0_regnum > > and ppc_num_gprs instead of tdep->ppc_gplast_regnum. > > * rs6000-nat.c (regmap, fetch_inferior_registers, > > store_inferior_registers): Same. > > * rs6000-tdep.c (e500_pseudo_register_read) > > (e500_pseudo_register_write): Same. > > (rs6000_gdbarch_init): Don't initialize tdep->ppc_gplast_regnum. > > Okay. Committed, thanks.