]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* infcmd.c (attach_command): Move "stop_soon_quietly" setting inside
authorChristopher Faylor <me+cygwin@cgf.cx>
Thu, 6 Jul 2000 20:58:33 +0000 (20:58 +0000)
committerChristopher Faylor <me+cygwin@cgf.cx>
Thu, 6 Jul 2000 20:58:33 +0000 (20:58 +0000)
ATTACH_NO_WAIT conditional since we are not about to stop soon if we're not
calling wait_for_inferior.

gdb/ChangeLog
gdb/infcmd.c

index 5e95bddf65db352a13311af27410ceb2e430952c..fab0c162e2aef0cba69948a2d75c8b310ef898ac 100644 (file)
@@ -1,3 +1,9 @@
+2000-07-06  Christopher Faylor  <cgf@cygnus.com>
+
+       * infcmd.c (attach_command): Move "stop_soon_quietly" setting
+       inside ATTACH_NO_WAIT conditional since we are not about to
+       stop soon if we're not calling wait_for_inferior.
+
 Wed Jul  5 21:06:39 2000  Andrew Cagney  <cagney@b1.cygnus.com>
 
        * config/i386/fbsd.mh (NATDEPFILES): Keep NATDEPFILES to a single
index f00b0e38790598c71b81a2625413a97426714abb..4f2dd8c985acdd83567a978ab71a56387d2eab40 100644 (file)
@@ -1721,11 +1721,11 @@ attach_command (args, from_tty)
      wait_for_inferior as soon as the target reports a stop.  */
   init_wait_for_inferior ();
   clear_proceed_status ();
-  stop_soon_quietly = 1;
 
   /* No traps are generated when attaching to inferior under Mach 3
      or GNU hurd.  */
 #ifndef ATTACH_NO_WAIT
+  stop_soon_quietly = 1;
   wait_for_inferior ();
 #endif