]> 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)
committerJohn Baldwin <jhb@FreeBSD.org>
Thu, 1 Sep 2022 23:41:34 +0000 (16:41 -0700)
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 bb707173be6d2145e8032397a7de82bd3952a4ac..b95ebd581e8476683df6eaa7b95bbc3ab6b1e482 100644 (file)
@@ -26,6 +26,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 ab54a37b113c4e716656e15293b82e8d35b89186..247167b1fc52f87ce3262310d764642adc4f9000 100644 (file)
@@ -79,7 +79,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.  -->