aboutsummaryrefslogtreecommitdiff
path: root/gdb/features
diff options
context:
space:
mode:
authorAndrew Pinski <apinski@cavium.com>2013-12-18 11:03:07 -0800
committerAndrew Pinski <apinski@cavium.com>2014-01-07 14:31:55 -0800
commita4d9ba85ec5597a6a556afe26b712e878374b9dd (patch)
tree12d6d17327a1824de377185ebb6ecb9ed9eeeb5f /gdb/features
parent1b67eb02738593359e929cf296a14f0be5637096 (diff)
downloadgdb-a4d9ba85ec5597a6a556afe26b712e878374b9dd.zip
gdb-a4d9ba85ec5597a6a556afe26b712e878374b9dd.tar.gz
gdb-a4d9ba85ec5597a6a556afe26b712e878374b9dd.tar.bz2
AARCH64: Change cpsr type to be 64bit.
2013-12-18 Andrew Pinski <apinski@cavium.com> * features/aarch64-core.xml (cpsr): Change to be 64bit. * features/aarch64.c: Regenerate.
Diffstat (limited to 'gdb/features')
-rw-r--r--gdb/features/aarch64-core.xml2
-rw-r--r--gdb/features/aarch64.c2
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");