aboutsummaryrefslogtreecommitdiff
path: root/gdb/arch/aarch64-mte-linux.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/arch/aarch64-mte-linux.h')
-rw-r--r--gdb/arch/aarch64-mte-linux.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/arch/aarch64-mte-linux.h b/gdb/arch/aarch64-mte-linux.h
index f517638..2aa97eb 100644
--- a/gdb/arch/aarch64-mte-linux.h
+++ b/gdb/arch/aarch64-mte-linux.h
@@ -35,6 +35,12 @@
#define AARCH64_MTE_LOGICAL_TAG_START_BIT 56
#define AARCH64_MTE_LOGICAL_MAX_VALUE 0xf
+/* Memory tagging definitions. */
+#ifndef SEGV_MTEAERR
+# define SEGV_MTEAERR 8
+# define SEGV_MTESERR 9
+#endif
+
/* Memory tag types for AArch64. */
enum class aarch64_memtag_type
{