Move free_all_objfiles to program_space
[deliverable/binutils-gdb.git] / gdb / symfile.c
index 965237191ad197e8c173f07c62c052ead83b95df..8852e2893a4f5657cdb5ea034020da2fbb564c7c 100644 (file)
@@ -1251,7 +1251,7 @@ symbol_file_clear (int from_tty)
      objfiles get stale by free_all_objfiles.  */
   no_shared_libraries (NULL, from_tty);
 
-  free_all_objfiles ();
+  current_program_space->free_all_objfiles ();
 
   gdb_assert (symfile_objfile == NULL);
   if (from_tty)
This page took 0.023423 seconds and 4 git commands to generate.