From: Andrew Cagney <ac131313@redhat.com>
To: gdb-patches@sources.redhat.com
Subject: [rfa:ppc+5.3] Fix "vrsave" regnum
Date: Mon, 30 Sep 2002 22:30:00 -0000 [thread overview]
Message-ID: <3D9932D8.8030007@redhat.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 229 bytes --]
Hello,
The attached fixes the number of the vrsave register (for the
powerpc:7400 variant). Without the patch, ``info vector'' gets an
internal error - 153 >= NUM_REGS+NUM_PSEUDO_REGS==153.
Ok? HEAD and 5.3 branch?
Andrew
[-- Attachment #2: diffs --]
[-- Type: text/plain, Size: 648 bytes --]
2002-10-01 Andrew Cagney <ac131313@redhat.com>
* rs6000-tdep.c (rs6000_gdbarch_init): For powerpc:7400, fix
"vrsave"'s register number.
Index: rs6000-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/rs6000-tdep.c,v
retrieving revision 1.85
diff -u -r1.85 rs6000-tdep.c
--- rs6000-tdep.c 26 Sep 2002 22:34:07 -0000 1.85
+++ rs6000-tdep.c 1 Oct 2002 05:26:27 -0000
@@ -2793,7 +2793,7 @@
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;
next reply other threads:[~2002-10-01 5:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-30 22:30 Andrew Cagney [this message]
2002-09-30 23:34 ` Kevin Buettner
2002-10-01 8:02 ` Andrew Cagney
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3D9932D8.8030007@redhat.com \
--to=ac131313@redhat.com \
--cc=gdb-patches@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox