* linux-nat.c (linux_nat_terminal_inferior)

(linux_nat_terminal_ours): Don't check sync_execution.
	* remote.c (remote_terminal_inferior, remote_terminal_ours):
	Don't check sync_execution.  Update comments.
	* target.c (target_terminal_inferior): New.
	* target.h (target_terminal_inferior): Delete macro, and declare
	as function.
	* event-top.c (async_disable_stdin): Make idempotent.  Don't give
	the target the terminal here.
	* inflow.c (terminal_ours_1): Don't return early without setting
	`terminal_is_ours'.
This commit is contained in:
Pedro Alves 2009-05-21 16:00:14 +00:00
parent 47608cb1ac
commit d9d2d8b6c0
7 changed files with 41 additions and 38 deletions

View file

@ -763,8 +763,7 @@ extern void print_section_info (struct target_ops *, bfd *);
/* Put the inferior's terminal settings into effect.
This is preparation for starting or resuming the inferior. */
#define target_terminal_inferior() \
(*current_target.to_terminal_inferior) ()
extern void target_terminal_inferior (void);
/* Put some of our terminal settings into effect,
enough to get proper results from our output,