* solib.c (solib_read_symbols): Stop if the file was not found.
This commit is contained in:
parent
d9639e1329
commit
8bb752867c
2 changed files with 9 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
|
||||||
|
|
||||||
|
* solib.c (solib_read_symbols): Stop if the file was not found.
|
||||||
|
|
||||||
2006-10-09 Paul Pluzhnikov <ppluzhnikov@charter.net>
|
2006-10-09 Paul Pluzhnikov <ppluzhnikov@charter.net>
|
||||||
|
|
||||||
PR c++/2116
|
PR c++/2116
|
||||||
|
|
|
@ -418,6 +418,11 @@ solib_read_symbols (struct so_list *so, int from_tty)
|
||||||
if (from_tty)
|
if (from_tty)
|
||||||
printf_unfiltered (_("Symbols already loaded for %s\n"), so->so_name);
|
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
|
else
|
||||||
{
|
{
|
||||||
if (catch_errors (symbol_add_stub, so,
|
if (catch_errors (symbol_add_stub, so,
|
||||||
|
|
Loading…
Reference in a new issue