diff options
Diffstat (limited to 'gdb/symfile.c')
-rw-r--r-- | gdb/symfile.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gdb/symfile.c b/gdb/symfile.c index f7c1efc..5e554fe 100644 --- a/gdb/symfile.c +++ b/gdb/symfile.c @@ -52,6 +52,7 @@ #include "parser-defs.h" #include "varobj.h" #include "elf-bfd.h" +#include "solib.h" #include <sys/types.h> #include <fcntl.h> @@ -1217,9 +1218,7 @@ symbol_file_clear (int from_tty) storage has just been released, we'd better wipe the solib descriptors as well. */ -#if defined(SOLIB_RESTART) - SOLIB_RESTART (); -#endif + no_shared_libraries (NULL, from_tty); symfile_objfile = NULL; if (from_tty) |