diff options
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 |