diff options
Diffstat (limited to 'gdb/features')
-rw-r--r-- | gdb/features/nios2-cpu.xml | 2 | ||||
-rw-r--r-- | gdb/features/nios2-linux.c | 2 | ||||
-rw-r--r-- | gdb/features/nios2.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/gdb/features/nios2-cpu.xml b/gdb/features/nios2-cpu.xml index a4146a6..8fc33dc 100644 --- a/gdb/features/nios2-cpu.xml +++ b/gdb/features/nios2-cpu.xml @@ -37,7 +37,7 @@ <reg name="sp" bitsize="32" type="data_ptr"/> <reg name="fp" bitsize="32" type="uint32"/> <reg name="ea" bitsize="32" type="uint32"/> - <reg name="ba" bitsize="32" type="uint32"/> + <reg name="sstatus" bitsize="32" type="uint32"/> <reg name="ra" bitsize="32" type="uint32"/> <reg name="pc" bitsize="32" type="code_ptr"/> <reg name="status" bitsize="32" type="uint32"/> diff --git a/gdb/features/nios2-linux.c b/gdb/features/nios2-linux.c index d384d7f..ea61cf8 100644 --- a/gdb/features/nios2-linux.c +++ b/gdb/features/nios2-linux.c @@ -47,7 +47,7 @@ initialize_tdesc_nios2_linux (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"); 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"); |