]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Add CPSR C64 bit (26)
authorLuis Machado <luis.machado@arm.com>
Thu, 1 Sep 2022 10:36:25 +0000 (11:36 +0100)
committerLuis Machado <luis.machado@arm.com>
Thu, 1 Sep 2022 16:15:05 +0000 (17:15 +0100)
Teach Morello GDB about bit 26 (C64), which shows if we have C64
execution state enabled or disabled.

gdb/features/aarch64-core.c
gdb/features/aarch64-core.xml

index a080a641c45f55cb020f85da5411475c1d13ac44..9928139b0ff0af178899d9877960bdbe3f86fb91 100644 (file)
@@ -25,6 +25,7 @@ create_feature_aarch64_core (struct target_desc *result, long regnum)
   tdesc_add_flag (type_with_fields, 23, "UAO");
   tdesc_add_flag (type_with_fields, 24, "DIT");
   tdesc_add_flag (type_with_fields, 25, "TCO");
+  tdesc_add_flag (type_with_fields, 26, "C64");
   tdesc_add_flag (type_with_fields, 28, "V");
   tdesc_add_flag (type_with_fields, 29, "C");
   tdesc_add_flag (type_with_fields, 30, "Z");
index ee6a3a6dfa0005858e0ce3499a776b94fc3a817e..516d17b3626dc60a4c88dfe1c43a14cbe9052664 100644 (file)
@@ -76,7 +76,8 @@
     <field name="DIT" start="24" end="24"/>
     <!-- ARMv8.5-A: Tag Check Override.  -->
     <field name="TCO" start="25" end="25"/>
-
+    <!-- Morello C64 bit, indicating C64 execution state.  -->
+    <field name="C64" start="26" end="26"/>
     <!-- Overflow Condition flag.  -->
     <field name="V" start="28" end="28"/>
     <!-- Carry Condition flag.  -->