diff options
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/solib.c | 9 |
2 files changed, 8 insertions, 6 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ff6b5fd..af9fe6c 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2010-11-05 Jan Kratochvil <jan.kratochvil@redhat.com> + + * solib.c (solib_read_symbols): Call exception_fprintf even without + FROM_TTY. Print also so->so_name. + 2010-11-04 Sami Wagiaalla <swagiaal@redhat.com> * gdbtypes.h (struct rank): Created subrank. diff --git a/gdb/solib.c b/gdb/solib.c index 837814b..acb6145 100644 --- a/gdb/solib.c +++ b/gdb/solib.c @@ -652,12 +652,9 @@ solib_read_symbols (struct so_list *so, int flags) } if (e.reason < 0) - { - if (from_tty) - exception_fprintf - (gdb_stderr, e, - _("Error while reading shared library symbols:\n")); - } + exception_fprintf (gdb_stderr, e, _("Error while reading shared" + " library symbols for %s:\n"), + so->so_name); else { if (from_tty || info_verbose) |