Replace the sync_execution global with a new enum prompt_state tristate
[deliverable/binutils-gdb.git] / gdb / event-loop.c
index fe283050507765c5bb2198658bc1c66567e003b2..f94a6fa135f579cf0cdaf2920d3f663ce1dfcf4b 100644 (file)
@@ -381,6 +381,7 @@ start_event_loop (void)
          /* If we long-jumped out of do_one_event, we probably didn't
             get around to resetting the prompt, which leaves readline
             in a messed-up state.  Reset it here.  */
+         current_ui->prompt_state = PROMPT_NEEDED;
          observer_notify_command_error ();
          /* This call looks bizarre, but it is required.  If the user
             entered a command that caused an error,
This page took 0.04148 seconds and 4 git commands to generate.