diff options
author | Jim Blandy <jimb@codesourcery.com> | 2002-11-25 20:01:06 +0000 |
---|---|---|
committer | Jim Blandy <jimb@codesourcery.com> | 2002-11-25 20:01:06 +0000 |
commit | 481d0f41211d103b0a6ac1e8ed80904d532a03f0 (patch) | |
tree | b76d43a137ea692431a7e7c90dda445978c617b5 /gdb | |
parent | 97dd3f185654dbc1a8e95b04e44b6af828d16e1b (diff) | |
download | gdb-481d0f41211d103b0a6ac1e8ed80904d532a03f0.zip gdb-481d0f41211d103b0a6ac1e8ed80904d532a03f0.tar.gz 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')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/symfile.c | 6 |
2 files changed, 10 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 4ac461c..b48f346 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2002-11-25 Jim Blandy <jimb@redhat.com> + + * symfile.c (symbol_file_add): Flush gdb_stdout even if from_tty + || info_verbose isn't true. + 2002-11-24 Andrew Cagney <ac131313@redhat.com> * gdbarch.sh (FRAME_ARGS_ADDRESS, FRAME_LOCALS_ADDRESS): Change 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. */ |