aboutsummaryrefslogtreecommitdiff
path: root/gdb/solib.c
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2010-11-05 01:40:28 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2010-11-05 01:40:28 +0000
commit14ad321702406e4ae091107aa067e3e0b34bf2a8 (patch)
tree4673361e1f9c29b732b03fd09d1e62a779ed8683 /gdb/solib.c
parent0bd0fa1e7fdadad4a5c65ce6f1e15ee26158e8e0 (diff)
downloadgdb-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.
Diffstat (limited to 'gdb/solib.c')
-rw-r--r--gdb/solib.c9
1 files changed, 3 insertions, 6 deletions
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)