From a4d9ba85ec5597a6a556afe26b712e878374b9dd Mon Sep 17 00:00:00 2001 From: Andrew Pinski Date: Wed, 18 Dec 2013 11:03:07 -0800 Subject: [PATCH] AARCH64: Change cpsr type to be 64bit. 2013-12-18 Andrew Pinski * features/aarch64-core.xml (cpsr): Change to be 64bit. * features/aarch64.c: Regenerate. --- gdb/ChangeLog | 5 +++++ gdb/features/aarch64-core.xml | 2 +- gdb/features/aarch64.c | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index e3fe61597a0..99726ccd1c6 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2014-01-07 Andrew Pinski + + * features/aarch64-core.xml (cpsr): Change to be 64bit. + * features/aarch64.c: Regenerate. + 2014-01-07 Andreas Schwab * target.c (return_null): Define. diff --git a/gdb/features/aarch64-core.xml b/gdb/features/aarch64-core.xml index 9b45a220dd0..dbec6dc9442 100644 --- a/gdb/features/aarch64-core.xml +++ b/gdb/features/aarch64-core.xml @@ -42,5 +42,5 @@ - + diff --git a/gdb/features/aarch64.c b/gdb/features/aarch64.c index 1e9a99d3e94..31a148e3637 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"); -- 2.30.2