diff options
author | Vladimir Prus <vladimir@codesourcery.com> | 2008-03-14 19:55:51 +0000 |
---|---|---|
committer | Vladimir Prus <vladimir@codesourcery.com> | 2008-03-14 19:55:51 +0000 |
commit | 712af3be2ee4d593ea25146e056e5d4df065ef97 (patch) | |
tree | e2ee88e137fb478b9b2d71571856485a548f55e1 /gdb/event-top.c | |
parent | 32c1e744c108afe9bebd41766ab3025279878f85 (diff) | |
download | binutils-gdb-712af3be2ee4d593ea25146e056e5d4df065ef97.tar.gz |
* defs.h (do_exec_error_cleanups, discard_exec_error_cleanups)
(make_exec_error_cleanup): Remove declarations.
* utils.c (exec_error_cleanup_chain): Remove.
(do_exec_error_cleanups, discard_exec_error_cleanups)
(make_exec_error_cleanup): Remove.
* event-loop.c (start_event_loop): Adjust call to
async_enable_stdin.
* event-top.c (async_enable_stdin): Remove the paramater dummy.
(async_disable_stdin): Don't register async_enable_stdin via
cleanup.
* inf-loop.c (inferior_event_handler): Don't
call do_exec_error_cleanups. Call async_enable_stdin instead.
* event-loop.c (start_event_loop): Adjust call to
async_enable_stdin.
* tui/tui-interp.c (tui_command_loop): Adjust call to
async_enable_stdin.
Diffstat (limited to 'gdb/event-top.c')
-rw-r--r-- | gdb/event-top.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/gdb/event-top.c b/gdb/event-top.c index 79dd4c32ae5..839e1114665 100644 --- a/gdb/event-top.c +++ b/gdb/event-top.c @@ -435,7 +435,7 @@ stdin_event_handler (int error, gdb_client_data client_data) the exec operation. */ void -async_enable_stdin (void *dummy) +async_enable_stdin (void) { if (sync_execution) { @@ -463,11 +463,6 @@ async_disable_stdin (void) sync/async mode) is refined, the duplicate calls can be eliminated (Here or in infcmd.c/infrun.c). */ target_terminal_inferior (); - /* Add the reinstate of stdin to the list of cleanups to be done - in case the target errors out and dies. These cleanups are also - done in case of normal successful termination of the execution - command, by complete_execution(). */ - make_exec_error_cleanup (async_enable_stdin, NULL); } |