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 Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
aarch64-linux-hw-point.h Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
aarch64-linux.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
aarch64-linux.h Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
amd64-linux-siginfo.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
amd64-linux-siginfo.h Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
fork-inferior.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
fork-inferior.h Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
gdb_ptrace.h Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
gdb_thread_db.h Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
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 Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
linux-namespaces.h Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
linux-nat.h Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
linux-osdata.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
linux-osdata.h Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
linux-personality.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
linux-personality.h Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
linux-procfs.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
linux-procfs.h Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
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 Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
linux-waitpid.h Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
mips-linux-watch.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
mips-linux-watch.h Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
ppc-linux.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
ppc-linux.h Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
x86-cpuid.h Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
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 Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
x86-linux-dregs.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
x86-linux-dregs.h Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
x86-linux.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
x86-linux.h Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00