diff options
Diffstat (limited to 'gdb/event-loop.c')
-rw-r--r-- | gdb/event-loop.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/event-loop.c b/gdb/event-loop.c index fe28305..f94a6fa 100644 --- a/gdb/event-loop.c +++ b/gdb/event-loop.c @@ -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, |