From: "Ulrich Weigand" <uweigand@de.ibm.com>
To: gdb-patches@sourceware.org
Subject: [commit] Fix register order in reg-spu.dat
Date: Tue, 24 Jul 2007 16:40:00 -0000 [thread overview]
Message-ID: <200707241303.l6OD3bfu011062@d12av02.megacenter.de.ibm.com> (raw)
Hello,
this fixes a mismatch between the order of registers in reg-spu.dat
and the register numbering used in spu-low.c (and GDB). The ID
register should be number 128, and NPC number 129; these two are
swapped in reg-spu.dat.
Thanks to Emi Suzuki for reporting this problem.
Tested on spu-elf via gdbserver; committed to mainline.
Bye,
Ulrich
ChangeLog:
* regformats/reg-spu.dat: Fix order of npc, id registers.
Index: gdb/regformats/reg-spu.dat
===================================================================
RCS file: /cvs/src/src/gdb/regformats/reg-spu.dat,v
retrieving revision 1.1
diff -c -p -r1.1 reg-spu.dat
*** gdb/regformats/reg-spu.dat 22 Nov 2006 17:34:15 -0000 1.1
--- gdb/regformats/reg-spu.dat 23 Jul 2007 20:39:33 -0000
*************** expedite:r0,r1,npc
*** 128,132 ****
128:r125
128:r126
128:r127
- 32:npc
32:id
--- 128,132 ----
128:r125
128:r126
128:r127
32:id
+ 32:npc
--
Dr. Ulrich Weigand
GNU Toolchain for Linux on System z and Cell BE
Ulrich.Weigand@de.ibm.com
reply other threads:[~2007-07-24 13:03 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=200707241303.l6OD3bfu011062@d12av02.megacenter.de.ibm.com \
--to=uweigand@de.ibm.com \
--cc=gdb-patches@sourceware.org \
/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