aboutsummaryrefslogtreecommitdiff
path: root/gdb/mi
diff options
context:
space:
mode:
authorAndrew Burgess <aburgess@broadcom.com>2013-08-02 10:31:40 +0000
committerAndrew Burgess <aburgess@broadcom.com>2013-08-02 10:31:40 +0000
commit58b19776a6713e101fb71fab79ea70fa9af19e3a (patch)
tree8229de09dd6176ae07b53ca31b07c34d6c91cce1 /gdb/mi
parent7ee85ab10c11d514ec7965e6960008bf90f72e54 (diff)
downloadfsf-binutils-gdb-58b19776a6713e101fb71fab79ea70fa9af19e3a.zip
fsf-binutils-gdb-58b19776a6713e101fb71fab79ea70fa9af19e3a.tar.gz
fsf-binutils-gdb-58b19776a6713e101fb71fab79ea70fa9af19e3a.tar.bz2
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.
Diffstat (limited to 'gdb/mi')
-rw-r--r--gdb/mi/mi-interp.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/mi/mi-interp.c b/gdb/mi/mi-interp.c
index 2702f4f..e370a57 100644
--- a/gdb/mi/mi-interp.c
+++ b/gdb/mi/mi-interp.c
@@ -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