From: Jim Blandy Date: Tue, 20 Jul 2004 22:09:53 +0000 (+0000) Subject: * rs6000-tdep.c (rs6000_gdbarch_init): The register set used for X-Git-Tag: csl-arm-2004-q3~820 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=412b306056ad201354be62ca2c9330a85c09aaad;p=platform%2Fupstream%2Fbinutils.git * rs6000-tdep.c (rs6000_gdbarch_init): The register set used for bfd_mach_ppc has no segment registers. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 927d342..9cc73e1 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,8 @@ 2004-07-20 Jim Blandy + * rs6000-tdep.c (rs6000_gdbarch_init): The register set used for + bfd_mach_ppc has no segment registers. + Include PowerPC SPR numbers for special-purpose registers. * rs6000-tdep.c (struct reg): Add new member, 'spr_num'. (R, R4, R8, R16, F, P, R32, R64, R0): Include value for diff --git a/gdb/rs6000-tdep.c b/gdb/rs6000-tdep.c index 3630e06..6ce4aeb 100644 --- a/gdb/rs6000-tdep.c +++ b/gdb/rs6000-tdep.c @@ -2935,6 +2935,7 @@ rs6000_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) switch (v->mach) { case bfd_mach_ppc: + tdep->ppc_sr0_regnum = -1; tdep->ppc_vr0_regnum = 71; tdep->ppc_vrsave_regnum = 104; break;