Introduce common/common-defs.h
[deliverable/binutils-gdb.git] / gdb / event-top.c
index c353f487d2bba1dd32dbdcaf6b24cbddd1881209..833f49db08b568c735b68e1f244d6fe00b303eec 100644 (file)
@@ -22,6 +22,7 @@
 #include "defs.h"
 #include "top.h"
 #include "inferior.h"
+#include "infrun.h"
 #include "target.h"
 #include "terminal.h"          /* for job_control */
 #include "event-loop.h"
@@ -242,11 +243,6 @@ display_gdb_prompt (char *new_prompt)
   /* Reset the nesting depth used when trace-commands is set.  */
   reset_command_nest_depth ();
 
-  /* Each interpreter has its own rules on displaying the command
-     prompt.  */
-  if (!current_interp_display_prompt_p ())
-    return;
-
   old_chain = make_cleanup (free_current_contents, &actual_gdb_prompt);
 
   /* Do not call the python hook on an explicit prompt change as
This page took 0.024073 seconds and 4 git commands to generate.