* solib.c (solib_read_symbols): Call exception_fprintf even without
	FROM_TTY.  Print also so->so_name.
This commit is contained in:
Jan Kratochvil
2010-11-05 01:40:28 +00:00
parent 0bd0fa1e7f
commit 14ad321702
2 changed files with 8 additions and 6 deletions

View File

@@ -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)