* symfile.c (symbol_file_add_with_addrs_or_offsets): Make sure to
authorJerome Guitton <guitton@adacore.com>
Tue, 10 Aug 2004 16:09:54 +0000 (16:09 +0000)
committerJerome Guitton <guitton@adacore.com>
Tue, 10 Aug 2004 16:09:54 +0000 (16:09 +0000)
print a line feed before the prompt.

gdb/ChangeLog
gdb/symfile.c

index 0e91ff3..2cdaeb0 100644 (file)
@@ -1,3 +1,8 @@
+2004-08-10  Jerome Guitton  <guitton@gnat.com>
+
+       * symfile.c (symbol_file_add_with_addrs_or_offsets): Make sure to
+       print a line feed before the prompt.
+
 2004-08-10  Mark Kettenis  <kettenis@gnu.org>
 
        * procfs.c (procfs_pid_to_str): Use "%ld" to print LWP.
index f8c7a44..38f6c01 100644 (file)
@@ -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 ("");
     }