aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-10-01 14:57:55 +0000
committerAndrew Cagney <cagney@redhat.com>2002-10-01 14:57:55 +0000
commit54c2a1e69352852e0cd74552e8560321e29b787e (patch)
tree400943d4c1391fe90ca6bf79be8bf6f96bd3993b /gdb
parent7c445aa3c80222dfc679ab112c864d674b805ec3 (diff)
downloadgdb-54c2a1e69352852e0cd74552e8560321e29b787e.zip
gdb-54c2a1e69352852e0cd74552e8560321e29b787e.tar.gz
gdb-54c2a1e69352852e0cd74552e8560321e29b787e.tar.bz2
2002-10-01 Andrew Cagney <ac131313@redhat.com>
* rs6000-tdep.c (rs6000_gdbarch_init): For powerpc:7400, fix "vrsave"'s register number.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/rs6000-tdep.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 0fdd0c4..d3ca87c 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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,
diff --git a/gdb/rs6000-tdep.c b/gdb/rs6000-tdep.c
index e6a68ef..57d3500 100644
--- a/gdb/rs6000-tdep.c
+++ b/gdb/rs6000-tdep.c
@@ -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;