2007-04-18 Denis Pilat <denis.pilat@st.com>

* infcmd.c (post_create_inferior): Start with a call to
	target_terminal_ours().
This commit is contained in:
Denis Pilat 2007-04-18 07:21:33 +00:00
parent 152d792f47
commit b79599ff1e
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2007-04-18 Denis Pilat <denis.pilat@st.com>
* infcmd.c (post_create_inferior): Start with a call to
target_terminal_ours().
2007-04-17 Maciej W. Rozycki <macro@mips.com>
* mips-tdep.c (mips_eabi_push_dummy_call): Rearrange some

View File

@ -406,6 +406,9 @@ tty_command (char *file, int from_tty)
void
post_create_inferior (struct target_ops *target, int from_tty)
{
/* Be sure we own the terminal in case write operations are performed. */
target_terminal_ours ();
/* If the target hasn't taken care of this already, do it now.
Targets which need to access registers during to_open,
to_create_inferior, or to_attach should do it earlier; but many