summaryrefslogtreecommitdiff
path: root/gdb/arch/aarch64-linux.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/arch/aarch64-linux.h')
-rw-r--r--gdb/arch/aarch64-linux.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/arch/aarch64-linux.h b/gdb/arch/aarch64-linux.h
index 23cd98f1f30..3006b316fd5 100644
--- a/gdb/arch/aarch64-linux.h
+++ b/gdb/arch/aarch64-linux.h
@@ -35,6 +35,12 @@
#define MTE_LOGICAL_TAG_START_BIT 56
#define MTE_LOGICAL_MAX_VALUE 0xf
+/* Memory tagging definitions. */
+#ifndef SEGV_MTEAERR
+# define SEGV_MTEAERR 8
+# define SEGV_MTESERR 9
+#endif
+
/* Return the number of tag granules in the memory range
[ADDR, ADDR + LEN) given GRANULE_SIZE. */
extern int get_tag_granules (CORE_ADDR addr, size_t len,