This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFA: use single debug->gdb register number func for rs6000 family


Kevin Buettner <kevinb@redhat.com> writes:

> On 29 Mar 2004 16:49:54 -0500
> Jim Blandy <jimb@redhat.com> 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  <jimb@redhat.com>
> > 
> > 	* 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]