* [commit] Fix register order in reg-spu.dat
@ 2007-07-24 16:40 Ulrich Weigand
0 siblings, 0 replies; only message in thread
From: Ulrich Weigand @ 2007-07-24 16:40 UTC (permalink / raw)
To: gdb-patches
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-07-24 13:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-07-24 16:40 [commit] Fix register order in reg-spu.dat Ulrich Weigand
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox