diff options
author | Jerome Guitton <guitton@adacore.com> | 2004-08-10 16:09:54 +0000 |
---|---|---|
committer | Jerome Guitton <guitton@adacore.com> | 2004-08-10 16:09:54 +0000 |
commit | 3fce19c318fbab011c9b4d19ddda05288a11533e (patch) | |
tree | 248432996e925a68594d82311ca0c1252d218187 | |
parent | 75f39f3a59793b4cecaca538b20a3a3455ad4db1 (diff) | |
download | gdb-3fce19c318fbab011c9b4d19ddda05288a11533e.tar.gz |
* symfile.c (symbol_file_add_with_addrs_or_offsets): Make sure to
print a line feed before the prompt.
-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 0e91ff3f63b..2cdaeb089f3 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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. diff --git a/gdb/symfile.c b/gdb/symfile.c index f8c7a4474c8..38f6c01136b 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 (""); } |