diff options
author | Andrew Pinski <apinski@cavium.com> | 2016-07-23 09:56:44 -0700 |
---|---|---|
committer | Andrew Pinski <apinski@cavium.com> | 2016-07-23 10:10:32 -0700 |
commit | 49ecef2a7da2ee9df4ae675f99b70518fbf1bb23 (patch) | |
tree | fa4538400b464588be1c9c52e3edb0c264067d72 /gdb/xml-syscall.h | |
parent | 463888ab6be549e8dcc9eac36dc07c1c237e2968 (diff) | |
download | binutils-49ecef2a7da2ee9df4ae675f99b70518fbf1bb23.zip binutils-49ecef2a7da2ee9df4ae675f99b70518fbf1bb23.tar.gz binutils-49ecef2a7da2ee9df4ae675f99b70518fbf1bb23.tar.bz2 |
Fix ARMv8.1/v8.2 for hw watchpoint and breakpoint
The problem here is ARMv8.1 (and ARMv8.2) define a
different debug version than ARMv8 (7 and 8 respectively).
This fixes hw watchpoints and breakpoints by checking
for those debug versions too.
Committed as obvious after a test on aarch64-linux-gnu
(on a ThunderX machine which has ARMv8.1 support enabled).
ChangeLog:
* nat/aarch64-linux-hw-point.c
(aarch64_linux_get_debug_reg_capacity): Handle
ARMv8.1 and ARMv8.2 debug versions.
* nat/aarch64-linux-hw-point.h
(AARCH64_DEBUG_ARCH_V8_1): New define.
(AARCH64_DEBUG_ARCH_V8_2): New define.
Signed-off-by: Andrew Pinski <apinski@cavium.com>
Diffstat (limited to 'gdb/xml-syscall.h')
0 files changed, 0 insertions, 0 deletions