diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2010-11-05 01:40:28 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2010-11-05 01:40:28 +0000 |
commit | 14ad321702406e4ae091107aa067e3e0b34bf2a8 (patch) | |
tree | 4673361e1f9c29b732b03fd09d1e62a779ed8683 | |
parent | 0bd0fa1e7fdadad4a5c65ce6f1e15ee26158e8e0 (diff) | |
download | gdb-14ad321702406e4ae091107aa067e3e0b34bf2a8.zip gdb-14ad321702406e4ae091107aa067e3e0b34bf2a8.tar.gz gdb-14ad321702406e4ae091107aa067e3e0b34bf2a8.tar.bz2 |
gdb/
* solib.c (solib_read_symbols): Call exception_fprintf even without
FROM_TTY. Print also so->so_name.
-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) |