* 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.
This commit is contained in:
parent
1ad5eac08e
commit
00373e55b6
|
@ -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>
|
Wed Jul 5 21:06:39 2000 Andrew Cagney <cagney@b1.cygnus.com>
|
||||||
|
|
||||||
* config/i386/fbsd.mh (NATDEPFILES): Keep NATDEPFILES to a single
|
* config/i386/fbsd.mh (NATDEPFILES): Keep NATDEPFILES to a single
|
||||||
|
|
|
@ -1721,11 +1721,11 @@ attach_command (args, from_tty)
|
||||||
wait_for_inferior as soon as the target reports a stop. */
|
wait_for_inferior as soon as the target reports a stop. */
|
||||||
init_wait_for_inferior ();
|
init_wait_for_inferior ();
|
||||||
clear_proceed_status ();
|
clear_proceed_status ();
|
||||||
stop_soon_quietly = 1;
|
|
||||||
|
|
||||||
/* No traps are generated when attaching to inferior under Mach 3
|
/* No traps are generated when attaching to inferior under Mach 3
|
||||||
or GNU hurd. */
|
or GNU hurd. */
|
||||||
#ifndef ATTACH_NO_WAIT
|
#ifndef ATTACH_NO_WAIT
|
||||||
|
stop_soon_quietly = 1;
|
||||||
wait_for_inferior ();
|
wait_for_inferior ();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue