+2001-07-12 Andrew Cagney <ac131313@redhat.com>
+
+ * mi-main.c (mi_execute_command): Flush output after ``(gdb)''
+ prompt. Bug reported by David Whedon.
+ (mi_execute_async_cli_command): Ditto.
+ (mi_exec_async_cli_cmd_continuation): Ditto.
+ (mi_command_loop): Ditto.
+
2001-07-10 Mark Kettenis <kettenis@gnu.org>
* mi-out.c (mi_out_new): Initialize suppress_ouput field of newly
mi_parse_free (command);
}
- gdb_flush (raw_stdout);
fputs_unfiltered ("(gdb) \n", raw_stdout);
+ gdb_flush (raw_stdout);
/* print any buffered hook code */
/* ..... */
}
fputs_unfiltered (last_async_command, raw_stdout);
fputs_unfiltered ("^running\n", raw_stdout);
fputs_unfiltered ("(gdb) \n", raw_stdout);
+ gdb_flush (raw_stdout);
}
else
{
mi_out_put (uiout, raw_stdout);
fputs_unfiltered ("\n", raw_stdout);
fputs_unfiltered ("(gdb) \n", raw_stdout);
+ gdb_flush (raw_stdout);
do_exec_cleanups (ALL_CLEANUPS);
}
/* Tell the world that we're alive */
fputs_unfiltered ("(gdb) \n", raw_stdout);
+ gdb_flush (raw_stdout);
if (!event_loop_p)
simplified_command_loop (mi_input, mi_execute_command);