From: Jan Kratochvil Date: Fri, 5 Nov 2010 01:40:28 +0000 (+0000) Subject: gdb/ X-Git-Tag: binutils-2_21-branchpoint~9 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=14ad321702406e4ae091107aa067e3e0b34bf2a8;p=thirdparty%2Fbinutils-gdb.git gdb/ * solib.c (solib_read_symbols): Call exception_fprintf even without FROM_TTY. Print also so->so_name. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ff6b5fd0644..af9fe6cb749 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 837814b5906..acb6145830d 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)