mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 09:08:59 +00:00
gdb/
* solib.c (solib_read_symbols): Call exception_fprintf even without FROM_TTY. Print also so->so_name.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user