* inflow.c (terminal_inferior): Don't give up the terminal if we
previously couldn't get the inferior's terminal state.
This commit is contained in:
parent
6ba34a8d52
commit
2da6aac335
|
@ -1,3 +1,8 @@
|
|||
2004-02-29 Daniel Jacobowitz <drow@mvista.com>
|
||||
|
||||
* inflow.c (terminal_inferior): Don't give up the terminal if we
|
||||
previously couldn't get the inferior's terminal state.
|
||||
|
||||
2004-02-29 Daniel Jacobowitz <drow@mvista.com>
|
||||
|
||||
* regcache.c (read_pc_pid): Restore inferior_ptid after reading
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
/* Low level interface to ptrace, for GDB when running under Unix.
|
||||
Copyright 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995,
|
||||
1996, 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
|
||||
1996, 1998, 1999, 2000, 2001, 2002, 2003, 2004
|
||||
Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GDB.
|
||||
|
||||
|
@ -223,6 +224,7 @@ void
|
|||
terminal_inferior (void)
|
||||
{
|
||||
if (gdb_has_a_terminal () && terminal_is_ours
|
||||
&& inferior_ttystate != NULL
|
||||
&& inferior_thisrun_terminal == 0)
|
||||
{
|
||||
int result;
|
||||
|
|
Loading…
Reference in New Issue