aboutsummaryrefslogtreecommitdiff
path: root/gdb/symfile.c
diff options
context:
space:
mode:
authorJerome Guitton <guitton@adacore.com>2004-08-10 16:09:54 +0000
committerJerome Guitton <guitton@adacore.com>2004-08-10 16:09:54 +0000
commit8f5ba92b7b6157c0f27c93331de8f08c08d50e1a (patch)
tree61c9a8bd94ec00a26cf4a81206614b9f8c2cab9f /gdb/symfile.c
parent21749010c896d54eb61863f699e7a1864e239001 (diff)
downloadgdb-8f5ba92b7b6157c0f27c93331de8f08c08d50e1a.zip
gdb-8f5ba92b7b6157c0f27c93331de8f08c08d50e1a.tar.gz
gdb-8f5ba92b7b6157c0f27c93331de8f08c08d50e1a.tar.bz2
* symfile.c (symbol_file_add_with_addrs_or_offsets): Make sure to
print a line feed before the prompt.
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 f8c7a44..38f6c01 100644
--- a/gdb/symfile.c
+++ b/gdb/symfile.c
@@ -865,7 +865,11 @@ symbol_file_add_with_addrs_or_offsets (bfd *abfd, int from_tty,
if (!have_partial_symbols () && !have_full_symbols ())
{
wrap_here ("");
- printf_unfiltered ("(no debugging symbols found)...");
+ printf_filtered ("(no debugging symbols found)");
+ if (from_tty || info_verbose)
+ printf_filtered ("...");
+ else
+ printf_filtered ("\n");
wrap_here ("");
}