OSDN Git Service

2002-10-01 Andrew Cagney <ac131313@redhat.com>
authorcagney <cagney>
Tue, 1 Oct 2002 14:57:54 +0000 (14:57 +0000)
committercagney <cagney>
Tue, 1 Oct 2002 14:57:54 +0000 (14:57 +0000)
* rs6000-tdep.c (rs6000_gdbarch_init): For powerpc:7400, fix
"vrsave"'s register number.

gdb/ChangeLog
gdb/rs6000-tdep.c

index 0fdd0c4..d3ca87c 100644 (file)
@@ -1,3 +1,8 @@
+2002-10-01  Andrew Cagney  <ac131313@redhat.com>
+
+       * rs6000-tdep.c (rs6000_gdbarch_init): For powerpc:7400, fix
+       "vrsave"'s register number.
+
 2002-09-30  Andrew Cagney  <ac131313@redhat.com>
 
        * mips-tdep.c (mips_frame_saved_pc): When a generic dummy frame,
index e6a68ef..57d3500 100644 (file)
@@ -2793,7 +2793,7 @@ rs6000_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
        break;
       case bfd_mach_ppc_7400:
        tdep->ppc_vr0_regnum = 119;
-       tdep->ppc_vrsave_regnum = 153;
+       tdep->ppc_vrsave_regnum = 152;
        tdep->ppc_ev0_regnum = -1;
        tdep->ppc_ev31_regnum = -1;
        break;