* infcmd.c (attach_command): Move call to target_terminal_inferior

behind loading symbol table.
This commit is contained in:
Corinna Vinschen 2004-06-29 06:39:06 +00:00
parent cc98411666
commit 79acc9b3cc
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2004-06-29 Corinna Vinschen <vinschen@redhat.com>
* infcmd.c (attach_command): Move call to target_terminal_inferior
behind loading symbol table.
2004-06-28 Andrew Cagney <cagney@gnu.org>
* rdi-share/ardi.c (angel_RDI_ExecuteOrStep): Revert 2004-06-24

View File

@ -1788,9 +1788,6 @@ attach_command (char *args, int from_tty)
based on what modes we are starting it with. */
target_terminal_init ();
/* Install inferior's terminal modes. */
target_terminal_inferior ();
/* Set up execution context to know that we should return from
wait_for_inferior as soon as the target reports a stop. */
init_wait_for_inferior ();
@ -1849,6 +1846,9 @@ attach_command (char *args, int from_tty)
*/
target_post_attach (PIDGET (inferior_ptid));
/* Install inferior's terminal modes. */
target_terminal_inferior ();
normal_stop ();
if (deprecated_attach_hook)