[AArch64] Make gdbserver register set selection dynamic
[deliverable/binutils-gdb.git] / gdb / arch / aarch64.h
index 6c98d5fa379f03ec01bbc2ed35219868b99ff3cf..95edb664b5517e2f34c255733e797e4d8f1db35f 100644 (file)
 
 #include "gdbsupport/tdesc.h"
 
+/* Holds information on what architectural features are available.  This is
+   used to select register sets.  */
+struct aarch64_features
+{
+  bool sve = false;
+  bool pauth = false;
+  bool mte = false;
+};
+
 /* Create the aarch64 target description.  A non zero VQ value indicates both
    the presence of SVE and the Vector Quotient - the number of 128bit chunks in
    an SVE Z register.  HAS_PAUTH_P indicates the presence of the PAUTH
-   feature.  */
+   feature.
+
+   MTE_P indicates the presence of the Memory Tagging Extension feature.  */
 
-target_desc *aarch64_create_target_description (uint64_t vq, bool has_pauth_p);
+target_desc *aarch64_create_target_description (uint64_t vq, bool has_pauth_p,
+                                               bool mte_p);
 
 /* Register numbers of various important registers.
    Note that on SVE, the Z registers reuse the V register numbers and the V
This page took 0.025017 seconds and 4 git commands to generate.