From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31403 invoked by alias); 1 Apr 2004 21:01:06 -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 31360 invoked from network); 1 Apr 2004 21:01:04 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 1 Apr 2004 21:01: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 i31L14jj004393 for ; Thu, 1 Apr 2004 16:01:04 -0500 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 i31L12j14584; Thu, 1 Apr 2004 16:01:03 -0500 To: Kevin Buettner Cc: gdb-patches@sources.redhat.com Subject: Re: RFA: use single debug->gdb register number func for rs6000 family References: <20040401113238.4e563dc2@saguaro> From: Jim Blandy Date: Thu, 01 Apr 2004 21:01:00 -0000 In-Reply-To: <20040401113238.4e563dc2@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-04/txt/msg00039.txt.bz2 Kevin Buettner writes: > On 29 Mar 2004 16:49:54 -0500 > Jim Blandy wrote: > > > It turns out that the gdbarch_tdep structure has all the information > > necessary to do the job; there's no need to have separate functions. > > > > Tested with no regressions on powerpc-unknown-linux-gnu. > > > > 2004-03-28 Jim Blandy > > > > * rs6000-tdep.c (rs6000_dwarf2_stab_reg_to_regnum): New, unified > > function for register numbers on all the rs6000-derived targets. > > (rs6000_gdbarch_init): Don't register a separate > > gdbarch_dwarf2_reg_to_regnum function for the E500. Use > > rs6000_dwarf2_stab_reg_to_regnum for both Dwarf 2 and stabs on all > > variants. > > Okay. Committed, thanks.