aboutsummaryrefslogtreecommitdiff
path: root/gdb/features/nios2.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/features/nios2.c
parentae335a4e267b7836b250fe6872a9234ff77241b4 (diff)
downloadgdb-0b76b0cedbc4b4c8ffd366e30683a3ab871888bc.zip
gdb-0b76b0cedbc4b4c8ffd366e30683a3ab871888bc.tar.gz
gdb-0b76b0cedbc4b4c8ffd366e30683a3ab871888bc.tar.bz2
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/features/nios2.c')
-rw-r--r--gdb/features/nios2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/features/nios2.c b/gdb/features/nios2.c
index cb7246d..8e0049d 100644
--- a/gdb/features/nios2.c
+++ b/gdb/features/nios2.c
@@ -45,7 +45,7 @@ initialize_tdesc_nios2 (void)
tdesc_create_reg (feature, "sp", 27, 1, NULL, 32, "data_ptr");
tdesc_create_reg (feature, "fp", 28, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "ea", 29, 1, NULL, 32, "uint32");
- tdesc_create_reg (feature, "ba", 30, 1, NULL, 32, "uint32");
+ tdesc_create_reg (feature, "sstatus", 30, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "ra", 31, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "pc", 32, 1, NULL, 32, "code_ptr");
tdesc_create_reg (feature, "status", 33, 1, NULL, 32, "uint32");