aboutsummaryrefslogtreecommitdiff
path: root/gdb/event-top.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/event-top.c')
-rw-r--r--gdb/event-top.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/event-top.c b/gdb/event-top.c
index 4fbd6a0..9e19d45 100644
--- a/gdb/event-top.c
+++ b/gdb/event-top.c
@@ -246,6 +246,13 @@ display_gdb_prompt (char *new_prompt)
int prompt_length = 0;
char *gdb_prompt = get_prompt ();
+#ifdef UI_OUT
+ /* When an alternative interpreter has been installed, do not
+ display the comand prompt. */
+ if (interpreter_p)
+ return;
+#endif
+
if (target_executing && sync_execution)
{
/* This is to trick readline into not trying to display the