binutils-gdb/gdb/nat
John Baldwin 12279366d7 Implement "to_stopped_by_hw_breakpoint" for x86 debug registers.
Report that a thread is stopped by a hardware breakpoint if a non-data
watchpoint is set in DR6.  This change should be a no-op since a target
still needs to implement the "to_supports_stopped_by_hw_breakpoint"
method before this function is used.

gdb/ChangeLog:

	* nat/x86-dregs.c (x86_dr_stopped_by_hw_breakpoint): New function.
	* nat/x86-dregs.h (x86_dr_stopped_by_hw_breakpoint): New
	prototype.
	* x86-nat.c (x86_stopped_by_hw_breakpoint): New function.
	(x86_use_watchpoints): Set "stopped_by_hw_breakpoint" target
	method.
2018-03-03 21:25:33 -08:00
..
aarch64-linux-hw-point.c
aarch64-linux-hw-point.h
aarch64-linux.c
aarch64-linux.h
amd64-linux-siginfo.c
amd64-linux-siginfo.h
fork-inferior.c
fork-inferior.h
gdb_ptrace.h
gdb_thread_db.h
glibc_thread_db.h
linux-btrace.c btrace: check perf_event_paranoid 2018-02-09 14:03:21 +01:00
linux-btrace.h btrace, gdbserver: remove the to_supports_btrace target method 2018-02-09 14:03:20 +01:00
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 gdb: Fix ia64 defining TRAP_HWBKPT before including gdb_wait.h 2018-01-19 18:17:54 +00:00
linux-ptrace.h gdb: Fix ia64 defining TRAP_HWBKPT before including gdb_wait.h 2018-01-19 18:17:54 +00: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 Implement "to_stopped_by_hw_breakpoint" for x86 debug registers. 2018-03-03 21:25:33 -08:00
x86-dregs.h Implement "to_stopped_by_hw_breakpoint" for x86 debug registers. 2018-03-03 21:25:33 -08:00
x86-gcc-cpuid.h
x86-linux-dregs.c
x86-linux-dregs.h
x86-linux.c
x86-linux.h