mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-12-19 01:19:41 +08:00
Add new debug architecture version
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>
This commit is contained in:
@@ -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:
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user