From fb40c20903110ed8af9701ce7c2635abd3770d52 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Wed, 23 Feb 2000 00:25:43 +0000 Subject: Add mi/ and testsuite/gdb.mi/ subdirectories. Add --enable-gdbmi option to configury. Add mi rules to Makefile.in Add mi conditional output to event-top.c infrun.c main.c top.c. Add -i=mi option. --- gdb/event-top.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'gdb/event-top.c') 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 -- cgit v1.1