summaryrefslogtreecommitdiff
path: root/gdb/nios2-linux-tdep.c
diff options
context:
space:
mode:
authorSandra Loosemore <sandra@codesourcery.com>2013-10-14 01:02:39 +0000
committerSandra Loosemore <sandra@codesourcery.com>2013-10-14 01:02:39 +0000
commit0b76b0cedbc4b4c8ffd366e30683a3ab871888bc (patch)
treef4c08e50e366a18c9fb5fed25b335d435e7e094d /gdb/nios2-linux-tdep.c
parentae335a4e267b7836b250fe6872a9234ff77241b4 (diff)
downloadbinutils-gdb-0b76b0cedbc4b4c8ffd366e30683a3ab871888bc.tar.gz
2013-10-13 Sandra Loosemore <sandra@codesourcery.com>
gdb/ * nios2-tdep.c (nios2_reg_names): Use "sstatus" rather than "ba" as the preferred name of r30. * nios2-linux-tdep.c (reg_offsets): Likewise. * features/nios2-cpu.xml: Likewise. * features/nios2-linux.c: Regenerated. * features/nios2.c: Regenerated. * regformats/nios2-linux.dat: Regenerated.
Diffstat (limited to 'gdb/nios2-linux-tdep.c')
-rw-r--r--gdb/nios2-linux-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/nios2-linux-tdep.c b/gdb/nios2-linux-tdep.c
index 67f400701b3..47b98cc866c 100644
--- a/gdb/nios2-linux-tdep.c
+++ b/gdb/nios2-linux-tdep.c
@@ -45,7 +45,7 @@ static const int reg_offsets[NIOS2_NUM_REGS] =
-1, 8, 9, 10, 11, 12, 13, 14, /* r0 - r7 */
0, 1, 2, 3, 4, 5, 6, 7, /* r8 - r15 */
23, 24, 25, 26, 27, 28, 29, 30, /* r16 - r23 */
- -1, -1, 19, 18, 17, 21, -1, 16, /* et bt gp sp fp ea ba ra */
+ -1, -1, 19, 18, 17, 21, -1, 16, /* et bt gp sp fp ea sstatus ra */
21, /* pc */
-1, 20, -1, -1, -1, -1, -1, -1, /* status estatus ... */
-1, -1, -1, -1, -1, -1, -1, -1