From: Jim Kingdon Date: Mon, 29 Aug 1994 18:45:35 +0000 (+0000) Subject: * annotate.c (annotate_starting): Flush output. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0c070b576928ae9d704c5daf24cdd0b232efa013;p=binutils-gdb.git * annotate.c (annotate_starting): Flush output. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 6911fc4485a..d465072d8da 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +Mon Aug 29 11:34:34 1994 Jim Kingdon (kingdon@cygnus.com) + + * annotate.c (annotate_starting): Flush output. + Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) * symfile.c (symbol_file_add): Move reinit_frame_cache call to diff --git a/gdb/annotate.c b/gdb/annotate.c index 45009238edd..5491ddff3cd 100644 --- a/gdb/annotate.c +++ b/gdb/annotate.c @@ -66,7 +66,12 @@ void annotate_starting () { if (annotation_level > 1) - printf_filtered ("\n\032\032starting\n"); + { + printf_filtered ("\n\032\032starting\n"); + /* The starting annotation needs to appear before any output + from the inferior process. */ + gdb_flush (gdb_stdout); + } } void