binutils-gdb/gdb/nat
Andrew Pinski 49ecef2a7d 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>
2016-07-23 10:10:32 -07:00
..
aarch64-linux-hw-point.c Fix ARMv8.1/v8.2 for hw watchpoint and breakpoint 2016-07-23 10:10:32 -07:00
aarch64-linux-hw-point.h Fix ARMv8.1/v8.2 for hw watchpoint and breakpoint 2016-07-23 10:10:32 -07:00
aarch64-linux.c
aarch64-linux.h
amd64-linux-siginfo.c
amd64-linux-siginfo.h
gdb_ptrace.h
gdb_thread_db.h Remove unused libthread_db td_thr_validate reference 2016-05-23 13:26:47 +01:00
glibc_thread_db.h
linux-btrace.c
linux-btrace.h
linux-namespaces.c
linux-namespaces.h
linux-nat.h
linux-osdata.c
linux-osdata.h
linux-personality.c
linux-personality.h
linux-procfs.c
linux-procfs.h
linux-ptrace.c
linux-ptrace.h MIPS/Linux: Also recognize TRAP_BRKPT and TRAP_HWBKPT 2016-04-15 23:52:00 +01:00
linux-waitpid.c
linux-waitpid.h
mips-linux-watch.c
mips-linux-watch.h
ppc-linux.c
ppc-linux.h
x86-cpuid.h
x86-dregs.c
x86-dregs.h
x86-gcc-cpuid.h
x86-linux-dregs.c
x86-linux-dregs.h
x86-linux.c
x86-linux.h