aboutsummaryrefslogtreecommitdiff
path: root/gdb/event-loop.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/event-loop.c')
-rw-r--r--gdb/event-loop.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/event-loop.c b/gdb/event-loop.c
index 7934ab4..9ca473e 100644
--- a/gdb/event-loop.c
+++ b/gdb/event-loop.c
@@ -34,7 +34,7 @@
#include <sys/types.h>
#include "gdb_sys_time.h"
#include "gdb_select.h"
-#include "observer.h"
+#include "observable.h"
#include "top.h"
/* Tell create_file_handler what events we are interested in.
@@ -382,7 +382,7 @@ start_event_loop (void)
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 ();
+ gdb::observers::command_error.notify ();
/* This call looks bizarre, but it is required. If the user
entered a command that caused an error,
after_char_processing_hook won't be called from