diff options
author | Jason Molenda <jmolenda@apple.com> | 1999-07-19 23:30:11 +0000 |
---|---|---|
committer | Jason Molenda <jmolenda@apple.com> | 1999-07-19 23:30:11 +0000 |
commit | adf40b2e16832f7382ee79e498d43a70ad22e305 (patch) | |
tree | 933de2a465a4003b9016471a466079459693ae3e /gdb/infrun.c | |
parent | dc9e099fc0eced486ae2b49455c9da113c11f4ff (diff) | |
download | gdb-adf40b2e16832f7382ee79e498d43a70ad22e305.zip gdb-adf40b2e16832f7382ee79e498d43a70ad22e305.tar.gz gdb-adf40b2e16832f7382ee79e498d43a70ad22e305.tar.bz2 |
import gdb-1999-07-19 snapshot
Diffstat (limited to 'gdb/infrun.c')
-rw-r--r-- | gdb/infrun.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/infrun.c b/gdb/infrun.c index 8fa98ae..08e6f64 100644 --- a/gdb/infrun.c +++ b/gdb/infrun.c @@ -1262,6 +1262,9 @@ fetch_inferior_event () if (!async_ecs->wait_some_more) { + /* Do only the cleanups that have been added by this + function. Let the continuations for the commands do the rest, + if there are any. */ do_exec_cleanups (old_cleanups); normal_stop (); /* Is there anything left to do for the command issued to @@ -3112,6 +3115,7 @@ complete_execution () { extern cleanup_sigint_signal_handler PARAMS ((void)); + target_executing = 0; if (sync_execution) { add_file_handler (input_fd, (file_handler_func *) call_readline, 0); @@ -3120,7 +3124,6 @@ complete_execution () cleanup_sigint_signal_handler (); display_gdb_prompt (0); } - target_executing = 0; } /* Here to return control to GDB when the inferior stops for real. |