* breakpoint.c (breakpoint_1): Walk the breakpoint chain to decide if
[deliverable/binutils-gdb.git] / gdb / objfiles.c
index ac238abd849f2a790f4909822afad72e2f58083f..060409d703335beecbfebebca9447946ae43d588 100644 (file)
@@ -336,7 +336,6 @@ free_objfile (objfile)
      is unknown, but we play it safe for now and keep each action until
      it is shown to be no longer needed. */
      
-  clear_symtab_users_once ();
 #if defined (CLEAR_SOLIB)
   CLEAR_SOLIB ();
 #endif
@@ -384,7 +383,7 @@ free_objfile (objfile)
 }
 
 
-/* Free all the object files at once.  */
+/* Free all the object files at once and clean up their users.  */
 
 void
 free_all_objfiles ()
@@ -395,6 +394,7 @@ free_all_objfiles ()
     {
       free_objfile (objfile);
     }
+  clear_symtab_users ();
 }
 \f
 /* Relocate OBJFILE to NEW_OFFSETS.  There should be OBJFILE->NUM_SECTIONS
This page took 0.028655 seconds and 4 git commands to generate.