2011-09-05 Pedro Alves <pedro@codesourcery.com>
authorPedro Alves <palves@redhat.com>
Mon, 5 Sep 2011 14:53:13 +0000 (14:53 +0000)
committerPedro Alves <palves@redhat.com>
Mon, 5 Sep 2011 14:53:13 +0000 (14:53 +0000)
commit0f641c01197d8f614a1ecb4a54c7d508f500367a
tree89330359ed322781a8daa5161afe975b6464504a
parent4a5818a296344d7f6a2ffa1492bc36fbbb7543d3
2011-09-05  Pedro Alves  <pedro@codesourcery.com>

* inf-loop.c (execute_command): Don't check if the current thread
if running before synchronously waiting for command completion.
* infrun.c (fetch_inferior_event): Handle "set exec-done-display"
here.
(normal_stop): Call async_enable_stdin here.
* inf-loop.c (inferior_event_handler): Don't call
async_enable_stdin, nor handle "set exec-done-display" here.
gdb/ChangeLog
gdb/inf-loop.c
gdb/infrun.c
gdb/top.c