diff options
Diffstat (limited to 'gdb/solib.c')
-rw-r--r-- | gdb/solib.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/solib.c b/gdb/solib.c index 1368227..8dbc8e3 100644 --- a/gdb/solib.c +++ b/gdb/solib.c @@ -418,6 +418,11 @@ solib_read_symbols (struct so_list *so, int from_tty) if (from_tty) printf_unfiltered (_("Symbols already loaded for %s\n"), so->so_name); } + else if (so->abfd == NULL) + { + if (from_tty) + printf_unfiltered (_("Symbol file not found for %s\n"), so->so_name); + } else { if (catch_errors (symbol_add_stub, so, |