Remove duplicate call to add_file_handler.

http://sourceware.org/ml/gdb-patches/2013-08/msg00067.html

This call to add_file_handler is a duplicate of one that is in
gdb_setup_readline that is always executed.

gdb/ChangeLog

        * mi/mi-interp.c (mi_interpreter_resume): Remove call to
        add_file_handler.
This commit is contained in:
Andrew Burgess 2013-08-02 10:31:40 +00:00
parent 7ee85ab10c
commit 58b19776a6
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2013-08-02 Andrew Burgess <aburgess@broadcom.com>
* mi/mi-interp.c (mi_interpreter_resume): Remove call to
add_file_handler.
2013-08-01 Doug Evans <dje@google.com>
PR symtab/15691

View file

@ -169,7 +169,6 @@ mi_interpreter_resume (void *data)
_intialize_event_loop. */
call_readline = gdb_readline2;
input_handler = mi_execute_command_input_handler;
add_file_handler (input_fd, stdin_event_handler, 0);
async_command_editing_p = 0;
/* FIXME: This is a total hack for now. PB's use of the MI
implicitly relies on a bug in the async support which allows