convert to_can_accel_watchpoint_condition

2014-02-19  Tom Tromey  <tromey@redhat.com>

	* target-delegates.c: Rebuild.
	* target.c (update_current_target): Don't inherit or default
	to_can_accel_watchpoint_condition.
	* target.h (struct target_ops)
	<to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
This commit is contained in:
Tom Tromey
2013-12-18 10:20:48 -07:00
parent d03655e4a5
commit 77cdffe90e
4 changed files with 27 additions and 6 deletions

View File

@ -618,7 +618,7 @@ update_current_target (void)
/* Do not inherit to_stopped_by_watchpoint. */
/* Do not inherit to_watchpoint_addr_within_range. */
/* Do not inherit to_region_ok_for_hw_watchpoint. */
INHERIT (to_can_accel_watchpoint_condition, t);
/* Do not inherit to_can_accel_watchpoint_condition. */
/* Do not inherit to_masked_watch_num_registers. */
INHERIT (to_terminal_init, t);
INHERIT (to_terminal_inferior, t);
@ -734,10 +734,6 @@ update_current_target (void)
(int (*) (CORE_ADDR, gdb_byte *, int, int,
struct mem_attrib *, struct target_ops *))
nomemory);
de_fault (to_can_accel_watchpoint_condition,
(int (*) (struct target_ops *, CORE_ADDR, int, int,
struct expression *))
return_zero);
de_fault (to_terminal_init,
(void (*) (struct target_ops *))
target_ignore);