aboutsummaryrefslogtreecommitdiff
path: root/gdb/annotate.c
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1994-08-29 18:45:35 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1994-08-29 18:45:35 +0000
commit0c070b576928ae9d704c5daf24cdd0b232efa013 (patch)
tree81c781e93ff7fc68cd929504412f3a858725e16a /gdb/annotate.c
parentc46e56efa18e3bd76a18e82a1f7a1e3f252f8757 (diff)
downloadgdb-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.c7
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