From: guitton Date: Tue, 10 Aug 2004 16:09:50 +0000 (+0000) Subject: * symfile.c (symbol_file_add_with_addrs_or_offsets): Make sure to X-Git-Tag: reparent-point~1328 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=ff91ccfa66e63d9e5c3a07d062d41f6e87d36e46;p=pf3gnuchains%2Fpf3gnuchains4x.git * symfile.c (symbol_file_add_with_addrs_or_offsets): Make sure to print a line feed before the prompt. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 0e91ff3f63..2cdaeb089f 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2004-08-10 Jerome Guitton + + * symfile.c (symbol_file_add_with_addrs_or_offsets): Make sure to + print a line feed before the prompt. + 2004-08-10 Mark Kettenis * procfs.c (procfs_pid_to_str): Use "%ld" to print LWP. diff --git a/gdb/symfile.c b/gdb/symfile.c index f8c7a4474c..38f6c01136 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 (""); }