convert to_terminal_inferior

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

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

View file

@ -621,7 +621,7 @@ update_current_target (void)
/* Do not inherit to_can_accel_watchpoint_condition. */
/* Do not inherit to_masked_watch_num_registers. */
/* Do not inherit to_terminal_init. */
INHERIT (to_terminal_inferior, t);
/* Do not inherit to_terminal_inferior. */
INHERIT (to_terminal_ours_for_output, t);
INHERIT (to_terminal_ours, t);
INHERIT (to_terminal_save_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_inferior,
(void (*) (struct target_ops *))
target_ignore);
de_fault (to_terminal_ours_for_output,
(void (*) (struct target_ops *))
target_ignore);