* infcmd.c (attach_command): Move call to target_terminal_inferior
authorCorinna Vinschen <corinna@vinschen.de>
Tue, 29 Jun 2004 06:39:06 +0000 (06:39 +0000)
committerCorinna Vinschen <corinna@vinschen.de>
Tue, 29 Jun 2004 06:39:06 +0000 (06:39 +0000)
behind loading symbol table.

gdb/ChangeLog
gdb/infcmd.c

index d8e74d87ac6990e84823077b0d6fc318abcd4cbd..d52c6c3840cf1561cabcec0411c87a92996cf3e3 100644 (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
index 46d57bed66e0e9eeea74354649d26b5c93ea07f9..58875d3b229c3ea970628c53236f06c209b7c4eb 100644 (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)
This page took 0.040909 seconds and 4 git commands to generate.