mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 17:18:55 +00:00
* 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:
@@ -458,14 +458,11 @@ async_enable_stdin (void)
|
||||
void
|
||||
async_disable_stdin (void)
|
||||
{
|
||||
sync_execution = 1;
|
||||
push_prompt ("", "", "");
|
||||
/* FIXME: cagney/1999-09-27: At present this call is technically
|
||||
redundant since infcmd.c and infrun.c both already call
|
||||
target_terminal_inferior(). As the terminal handling (in
|
||||
sync/async mode) is refined, the duplicate calls can be
|
||||
eliminated (Here or in infcmd.c/infrun.c). */
|
||||
target_terminal_inferior ();
|
||||
if (!sync_execution)
|
||||
{
|
||||
sync_execution = 1;
|
||||
push_prompt ("", "", "");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user