aboutsummaryrefslogtreecommitdiff
path: root/gdb/symfile.c
diff options
context:
space:
mode:
authorJim Blandy <jimb@codesourcery.com>2002-11-25 20:01:06 +0000
committerJim Blandy <jimb@codesourcery.com>2002-11-25 20:01:06 +0000
commit481d0f41211d103b0a6ac1e8ed80904d532a03f0 (patch)
treeb76d43a137ea692431a7e7c90dda445978c617b5 /gdb/symfile.c
parent97dd3f185654dbc1a8e95b04e44b6af828d16e1b (diff)
downloadfsf-binutils-gdb-481d0f41211d103b0a6ac1e8ed80904d532a03f0.zip
fsf-binutils-gdb-481d0f41211d103b0a6ac1e8ed80904d532a03f0.tar.gz
fsf-binutils-gdb-481d0f41211d103b0a6ac1e8ed80904d532a03f0.tar.bz2
* symfile.c (symbol_file_add): Flush gdb_stdout even if from_tty
|| info_verbose isn't true.
Diffstat (limited to 'gdb/symfile.c')
-rw-r--r--gdb/symfile.c6
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. */