* target.h (struct target_ops): Add
authorAndreas Schwab <schwab@linux-m68k.org>
Fri, 2 May 2008 11:07:25 +0000 (11:07 +0000)
committerAndreas Schwab <schwab@linux-m68k.org>
Fri, 2 May 2008 11:07:25 +0000 (11:07 +0000)
commit5009afc5ba7a0d57f28fbc834757145fe1f45549
tree84eb99d8f3cee40602e1f5f48650b3db51714cc4
parenta99f88dcfcd4f977edc6daf5c469d656808e5576
* target.h (struct target_ops): Add
to_watchpoint_addr_within_range.
(target_watchpoint_addr_within_range): New function.
* target.c (update_current_target): Inherit
to_watchpoint_addr_within_range, defaulting to
default_watchpoint_addr_within_range.
(default_watchpoint_addr_within_range): New function.
(debug_to_watchpoint_addr_within_range): New function.
(setup_target_debug): Set to_watchpoint_addr_within_range.
* ppc-linux-nat.c (ppc_linux_watchpoint_addr_within_range):
New function.
(_initialize_ppc_linux_nat): Set to_watchpoint_addr_within_range.
* breakpoint.c (watchpoints_triggered): Use
target_watchpoint_addr_within_range.

* gdbint.texinfo (Algorithms): Describe
target_watchpoint_addr_within_range.
gdb/ChangeLog
gdb/breakpoint.c
gdb/doc/ChangeLog
gdb/doc/gdbint.texinfo
gdb/ppc-linux-nat.c
gdb/target.c
gdb/target.h