* annotate.c (annotate_starting): Flush output.
authorJim Kingdon <jkingdon@engr.sgi.com>
Mon, 29 Aug 1994 18:45:35 +0000 (18:45 +0000)
committerJim Kingdon <jkingdon@engr.sgi.com>
Mon, 29 Aug 1994 18:45:35 +0000 (18:45 +0000)
gdb/ChangeLog
gdb/annotate.c

index 6911fc4485a4f721ee70906e7ba90936ad9416b9..d465072d8da3df58fef430cdeaf7d559d8ba6617 100644 (file)
@@ -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
index 45009238edd9156471b2e2fbca531cc720b283ba..5491ddff3cd7a1ab80393076774677284860a65c 100644 (file)
@@ -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