This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[commit] [OBV] Remove duplicate call to add_file_handler


Committed this patch to remove a duplicate call to add_file_handler,
the call to gdb_setup_readline will have performed the same call for
us.

I hope this ok to commit as obvious without review.

Thanks,
Andrew

2013-08-02  Andrew Burgess  <aburgess@broadcom.com>

	* mi/mi-interp.c (mi_interpreter_resume): Remove call to
	add_file_handler.

diff -u -p -r1.84 mi-interp.c
--- ./gdb/mi/mi-interp.c        12 Mar 2013 18:50:39 -0000      1.84
+++ ./gdb/mi/mi-interp.c        2 Aug 2013 10:24:30 -0000
@@ -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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]