RFA: use single debug->gdb register number func for rs6000 family
Kevin Buettner
kevinb@redhat.com
Thu Apr 1 18:32:00 GMT 2004
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.
More information about the Gdb-patches
mailing list