[AArch64] Fix architecture debug version constant thinkos
authorLuis Machado <luis.machado@arm.com>
Thu, 1 Jun 2023 16:41:37 +0000 (17:41 +0100)
committerLuis Machado <luis.machado@arm.com>
Fri, 2 Jun 2023 05:46:25 +0000 (06:46 +0100)
Caught this during emulator testing.

Fix the constants. They should be 0xa and 0xb as opposed to 0x10 and
0x11.  There was a thinko while defining them.

Obvious enough.

Tested on aarch64-linux Ubuntu 20.04/22.04.

gdb/nat/aarch64-hw-point.h

index c19681422da893b8118b44c117b7383109b8c4b1..2ff9ccb5c1c8506d69e173e6168dbdbc8f34e774 100644 (file)
@@ -58,9 +58,9 @@
 #define AARCH64_DEBUG_ARCH_V8_1 0x7
 #define AARCH64_DEBUG_ARCH_V8_2 0x8
 #define AARCH64_DEBUG_ARCH_V8_4 0x9
-#define AARCH64_DEBUG_ARCH_V8_8 0x10
+#define AARCH64_DEBUG_ARCH_V8_8 0xa
 /* Armv8.9 debug architecture.  */
-#define AARCH64_DEBUG_ARCH_V8_9 0x11
+#define AARCH64_DEBUG_ARCH_V8_9 0xb
 
 /* ptrace expects control registers to be formatted as follows: