From 14ad321702406e4ae091107aa067e3e0b34bf2a8 Mon Sep 17 00:00:00 2001 From: Jan Kratochvil Date: Fri, 5 Nov 2010 01:40:28 +0000 Subject: [PATCH] gdb/ * solib.c (solib_read_symbols): Call exception_fprintf even without FROM_TTY. Print also so->so_name. --- gdb/ChangeLog | 5 +++++ 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 + + * solib.c (solib_read_symbols): Call exception_fprintf even without + FROM_TTY. Print also so->so_name. + 2010-11-04 Sami Wagiaalla * 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) -- 2.7.4