Teach gdb about a new debug architecture version for AArch64 (0x11).
No user-visible changes.
Regression-tested on aarch64-linux Ubuntu 20.04/22.04.
Signed-off-by: Luis Machado <luis.machado@arm.com>
#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:
return true;
if (debug_arch == AARCH64_DEBUG_ARCH_V8_8)
return true;
+ if (debug_arch == AARCH64_DEBUG_ARCH_V8_9)
+ return true;
return false;
}