aboutsummaryrefslogtreecommitdiff
path: root/gdb/mi/mi-main.c
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2012-03-14 07:58:06 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2012-03-14 07:58:06 +0000
commite837f12a8d57a112a5ec40a3b3387aac3768c016 (patch)
treef8e1355cbfc9d7e18f3e2e7213ddeb681b290373 /gdb/mi/mi-main.c
parentec8460b5bac24867500e840a88a6ee36fbc2dff2 (diff)
downloadgdb-e837f12a8d57a112a5ec40a3b3387aac3768c016.zip
gdb-e837f12a8d57a112a5ec40a3b3387aac3768c016.tar.gz
gdb-e837f12a8d57a112a5ec40a3b3387aac3768c016.tar.bz2
gdb/
Fix double prompt of 'interpreter-exec mi'. * mi/mi-interp.c (mi_execute_command_input_handler): New prototype. (mi_interpreter_resume): use it. (mi_execute_command_input_handler): New function. * mi/mi-main.c (mi_execute_command): Move prompt printing to mi_execute_command_input_handler. gdb/testsuite/ * gdb.mi/mi2-prompt.exp: New file.
Diffstat (limited to 'gdb/mi/mi-main.c')
-rw-r--r--gdb/mi/mi-main.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/gdb/mi/mi-main.c b/gdb/mi/mi-main.c
index 787d247..9f14f01 100644
--- a/gdb/mi/mi-main.c
+++ b/gdb/mi/mi-main.c
@@ -2029,9 +2029,6 @@ mi_execute_command (char *cmd, int from_tty)
mi_parse_free (command);
}
-
- fputs_unfiltered ("(gdb) \n", raw_stdout);
- gdb_flush (raw_stdout);
}
static void