gdb/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Wed, 14 Mar 2012 07:58:06 +0000 (07:58 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Wed, 14 Mar 2012 07:58:06 +0000 (07:58 +0000)
commite837f12a8d57a112a5ec40a3b3387aac3768c016
treef8e1355cbfc9d7e18f3e2e7213ddeb681b290373
parentec8460b5bac24867500e840a88a6ee36fbc2dff2
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.
gdb/ChangeLog
gdb/mi/mi-interp.c
gdb/mi/mi-main.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.mi/mi2-prompt.exp [new file with mode: 0644]