From 54c2a1e69352852e0cd74552e8560321e29b787e Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Tue, 1 Oct 2002 14:57:55 +0000 Subject: [PATCH] 2002-10-01 Andrew Cagney * rs6000-tdep.c (rs6000_gdbarch_init): For powerpc:7400, fix "vrsave"'s register number. --- gdb/ChangeLog | 5 +++++ gdb/rs6000-tdep.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 0fdd0c4c84f..d3ca87c0a86 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2002-10-01 Andrew Cagney + + * rs6000-tdep.c (rs6000_gdbarch_init): For powerpc:7400, fix + "vrsave"'s register number. + 2002-09-30 Andrew Cagney * 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 e6a68ef202b..57d3500a842 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; -- 2.30.2