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/tui/tui-interp.c | |
parent | 32c1e744c108afe9bebd41766ab3025279878f85 (diff) | |
download | gdb-712af3be2ee4d593ea25146e056e5d4df065ef97.zip gdb-712af3be2ee4d593ea25146e056e5d4df065ef97.tar.gz gdb-712af3be2ee4d593ea25146e056e5d4df065ef97.tar.bz2 |
* 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/tui/tui-interp.c')
-rw-r--r-- | gdb/tui/tui-interp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/tui/tui-interp.c b/gdb/tui/tui-interp.c index 8a16678..21e8008 100644 --- a/gdb/tui/tui-interp.c +++ b/gdb/tui/tui-interp.c @@ -167,7 +167,7 @@ tui_command_loop (void *data) /* If any exception escaped to here, we better enable stdin. Otherwise, any command that calls async_disable_stdin, and then throws, will leave stdin inoperable. */ - async_enable_stdin ((void *) 0); + async_enable_stdin (); /* FIXME: this should really be a call to a hook that is interface specific, because interfaces can display the prompt in their own way. */ |