Make command line editing (use of readline) be per UI
[deliverable/binutils-gdb.git] / gdb / mi / mi-interp.c
index d2e5b1cd1d68fe987ba347bc17655b163718f6d5..397ac1a9b4a30c4d4b06884cd89ac6f06a473bd0 100644 (file)
@@ -159,13 +159,10 @@ mi_interpreter_resume (void *data)
 
   /* As per hack note in mi_interpreter_init, swap in the output
      channels... */
-  gdb_setup_readline ();
+  gdb_setup_readline (0);
 
-  /* These overwrite some of the initialization done in
-     _intialize_event_loop.  */
   ui->call_readline = gdb_readline_no_editing_callback;
   ui->input_handler = mi_execute_command_input_handler;
-  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
      asynchronous commands to leak through the commmand loop.  The bug
This page took 0.031369 seconds and 4 git commands to generate.