Switch the inferior too in switch_to_program_space_and_thread
[deliverable/binutils-gdb.git] / gdb / symfile.c
index 0285f8fc34c1d4fa47dacf4370c45ef38a54e4cf..d5a797a32cba9fdfaea63cc046fe39b52049c821 100644 (file)
@@ -1243,6 +1243,8 @@ symbol_file_clear (int from_tty)
 
   current_program_space->free_all_objfiles ();
 
+  clear_symtab_users (0);
+
   gdb_assert (symfile_objfile == NULL);
   if (from_tty)
     printf_filtered (_("No symbol file now.\n"));
This page took 0.023936 seconds and 4 git commands to generate.