2002-10-01 Andrew Cagney <ac131313@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Tue, 1 Oct 2002 14:57:55 +0000 (14:57 +0000)
committerAndrew Cagney <cagney@redhat.com>
Tue, 1 Oct 2002 14:57:55 +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 0fdd0c4c84fa0d492e9e6c6356447b977c3c971d..d3ca87c0a865ffdc63bb035bd56fae53ba0fceca 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 e6a68ef202b7d079983895b3946277597ae1757b..57d3500a842c262b61af50966aa2eb3eb12ce2e4 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;