aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/nat/aarch64-hw-point.h2
-rw-r--r--gdb/nat/aarch64-linux-hw-point.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/gdb/nat/aarch64-hw-point.h b/gdb/nat/aarch64-hw-point.h
index f4662f7..c196814 100644
--- a/gdb/nat/aarch64-hw-point.h
+++ b/gdb/nat/aarch64-hw-point.h
@@ -59,6 +59,8 @@
#define AARCH64_DEBUG_ARCH_V8_2 0x8
#define AARCH64_DEBUG_ARCH_V8_4 0x9
#define AARCH64_DEBUG_ARCH_V8_8 0x10
+/* Armv8.9 debug architecture. */
+#define AARCH64_DEBUG_ARCH_V8_9 0x11
/* ptrace expects control registers to be formatted as follows:
diff --git a/gdb/nat/aarch64-linux-hw-point.c b/gdb/nat/aarch64-linux-hw-point.c
index ccb47cd..8cf8b31 100644
--- a/gdb/nat/aarch64-linux-hw-point.c
+++ b/gdb/nat/aarch64-linux-hw-point.c
@@ -234,6 +234,8 @@ compatible_debug_arch (unsigned int debug_arch)
return true;
if (debug_arch == AARCH64_DEBUG_ARCH_V8_8)
return true;
+ if (debug_arch == AARCH64_DEBUG_ARCH_V8_9)
+ return true;
return false;
}