Make display_gdb_prompt CLI-only.
[deliverable/binutils-gdb.git] / gdb / inf-loop.c
index f5293ae8622b25c8b84076c5e61bd907f7f82aa0..247e9d68706a7525692e0d2648d0cc83b14f4328 100644 (file)
@@ -31,6 +31,7 @@
 #include "continuations.h"
 #include "interps.h"
 #include "top.h"
+#include "observer.h"
 
 static int fetch_inferior_event_wrapper (gdb_client_data client_data);
 
@@ -58,7 +59,7 @@ inferior_event_handler (enum inferior_event_type event_type,
          do_all_intermediate_continuations (1);
          do_all_continuations (1);
          async_enable_stdin ();
-         display_gdb_prompt (0);
+         observer_notify_command_error ();
        }
       break;
 
This page took 0.040652 seconds and 4 git commands to generate.