diff options
Diffstat (limited to 'gdb/features')
-rw-r--r-- | gdb/features/aarch64-core.xml | 2 | ||||
-rw-r--r-- | gdb/features/aarch64.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gdb/features/aarch64-core.xml b/gdb/features/aarch64-core.xml index 9b45a22..dbec6dc 100644 --- a/gdb/features/aarch64-core.xml +++ b/gdb/features/aarch64-core.xml @@ -42,5 +42,5 @@ <reg name="sp" bitsize="64" type="data_ptr"/> <reg name="pc" bitsize="64" type="code_ptr"/> - <reg name="cpsr" bitsize="32"/> + <reg name="cpsr" bitsize="64"/> </feature> diff --git a/gdb/features/aarch64.c b/gdb/features/aarch64.c index 1e9a99d..31a148e 100644 --- a/gdb/features/aarch64.c +++ b/gdb/features/aarch64.c @@ -50,7 +50,7 @@ initialize_tdesc_aarch64 (void) tdesc_create_reg (feature, "x30", 30, 1, NULL, 64, "int"); tdesc_create_reg (feature, "sp", 31, 1, NULL, 64, "data_ptr"); tdesc_create_reg (feature, "pc", 32, 1, NULL, 64, "code_ptr"); - tdesc_create_reg (feature, "cpsr", 33, 1, NULL, 32, "int"); + tdesc_create_reg (feature, "cpsr", 33, 1, NULL, 64, "int"); feature = tdesc_create_feature (result, "org.gnu.gdb.aarch64.fpu"); field_type = tdesc_named_type (feature, "ieee_double"); |