diff options
Diffstat (limited to 'gdb/symfile.c')
-rw-r--r-- | gdb/symfile.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gdb/symfile.c b/gdb/symfile.c index 28c84f9..5e0bf8c 100644 --- a/gdb/symfile.c +++ b/gdb/symfile.c @@ -907,10 +907,14 @@ symbol_file_add (char *name, int from_tty, struct section_addr_info *addrs, else { printf_filtered ("done.\n"); - gdb_flush (gdb_stdout); } } + /* We print some messages regardless of whether 'from_tty || + info_verbose' is true, so make sure they go out at the right + time. */ + gdb_flush (gdb_stdout); + if (objfile->sf == NULL) return objfile; /* No symbols. */ |