diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1994-08-29 18:45:35 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1994-08-29 18:45:35 +0000 |
commit | 0c070b576928ae9d704c5daf24cdd0b232efa013 (patch) | |
tree | 81c781e93ff7fc68cd929504412f3a858725e16a /gdb/annotate.c | |
parent | c46e56efa18e3bd76a18e82a1f7a1e3f252f8757 (diff) | |
download | gdb-0c070b576928ae9d704c5daf24cdd0b232efa013.zip gdb-0c070b576928ae9d704c5daf24cdd0b232efa013.tar.gz gdb-0c070b576928ae9d704c5daf24cdd0b232efa013.tar.bz2 |
* annotate.c (annotate_starting): Flush output.
Diffstat (limited to 'gdb/annotate.c')
-rw-r--r-- | gdb/annotate.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gdb/annotate.c b/gdb/annotate.c index 4500923..5491ddf 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 |