convert to_terminal_init

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

	* target-delegates.c: Rebuild.
	* target.c (update_current_target): Don't inherit or default
	to_terminal_init.
	* target.h (struct target_ops) <to_terminal_init>: Use
	TARGET_DEFAULT_IGNORE.
This commit is contained in:
Tom Tromey
2013-12-18 10:24:07 -07:00
parent 77cdffe90e
commit 0343661d23
4 changed files with 26 additions and 5 deletions

View File

@@ -620,7 +620,7 @@ update_current_target (void)
/* Do not inherit to_region_ok_for_hw_watchpoint. */
/* Do not inherit to_can_accel_watchpoint_condition. */
/* Do not inherit to_masked_watch_num_registers. */
INHERIT (to_terminal_init, t);
/* Do not inherit to_terminal_init. */
INHERIT (to_terminal_inferior, t);
INHERIT (to_terminal_ours_for_output, t);
INHERIT (to_terminal_ours, t);
@@ -734,9 +734,6 @@ update_current_target (void)
(int (*) (CORE_ADDR, gdb_byte *, int, int,
struct mem_attrib *, struct target_ops *))
nomemory);
de_fault (to_terminal_init,
(void (*) (struct target_ops *))
target_ignore);
de_fault (to_terminal_inferior,
(void (*) (struct target_ops *))
target_ignore);