PR gdb/10720
authormatt rice <ratmice@gmail.com>
Fri, 2 Sep 2011 21:16:54 +0000 (21:16 +0000)
committermatt rice <ratmice@gmail.com>
Fri, 2 Sep 2011 21:16:54 +0000 (21:16 +0000)
commit7d8e6458d594b84b94099d1069bb44619885e293
tree36392698de0fd93e578dac1b77aabc50400bb906
parent84636d2874122cf547b3eaee494544636931c083
PR gdb/10720
* event-top.c (cli_command_loop): Replace readline setup with
direct call to display_gdb_prompt.
(display_gdb_prompt): Do not call observer mechanism during
synchronous execution.

testsuite:
* lib/prompt.exp: New file for testing the first prompt.
* gdb.python/py-prompt.exp: Ditto.
* gdb.python/py-prompt.c: Ditto (copy of ext-attach.c).
gdb/ChangeLog
gdb/event-top.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.python/py-prompt.c [new file with mode: 0644]
gdb/testsuite/gdb.python/py-prompt.exp [new file with mode: 0644]
gdb/testsuite/lib/prompt.exp [new file with mode: 0644]