X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Fsymfile.c;h=8852e2893a4f5657cdb5ea034020da2fbb564c7c;hb=343cc95202fce70383551053f2efab09c5e02366;hp=965237191ad197e8c173f07c62c052ead83b95df;hpb=268e4f09144c48e02f01d82ab3aab359457df214;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/symfile.c b/gdb/symfile.c index 965237191a..8852e2893a 100644 --- a/gdb/symfile.c +++ b/gdb/symfile.c @@ -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)