aboutsummaryrefslogtreecommitdiff
path: root/gdb/nat
diff options
context:
space:
mode:
authorLuis Machado <luis.machado@arm.com>2023-06-01 17:41:37 +0100
committerLuis Machado <luis.machado@arm.com>2023-06-02 06:46:25 +0100
commit21b9239b70d870b155284bf508cdf5401f37e2f5 (patch)
tree7929f9875ce563da397dc41c4c59fe4278617b4b /gdb/nat
parent63188cb5c3e2814d6527d0309af4db8634e8cdaa (diff)
downloadgdb-21b9239b70d870b155284bf508cdf5401f37e2f5.zip
gdb-21b9239b70d870b155284bf508cdf5401f37e2f5.tar.gz
gdb-21b9239b70d870b155284bf508cdf5401f37e2f5.tar.bz2
[AArch64] Fix architecture debug version constant thinkos
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.
Diffstat (limited to 'gdb/nat')
-rw-r--r--gdb/nat/aarch64-hw-point.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/nat/aarch64-hw-point.h b/gdb/nat/aarch64-hw-point.h
index c196814..2ff9ccb 100644
--- a/gdb/nat/aarch64-hw-point.h
+++ b/gdb/nat/aarch64-hw-point.h
@@ -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: