Follow-up to Support style in 'frame|thread apply'
[deliverable/binutils-gdb.git] / gdb / symfile.c
index ba82f1b83ca13e1c5b71777dbbc3149cf7fa290a..5736666506fe3bae8c82eeba7d21cbebb07dcdc4 100644 (file)
@@ -2432,12 +2432,6 @@ reread_symbols (void)
   int res;
   std::vector<struct objfile *> new_objfiles;
 
-  /* With the addition of shared libraries, this should be modified,
-     the load time should be saved in the partial symbol tables, since
-     different tables may come from different source files.  FIXME.
-     This routine should then walk down each partial symbol table
-     and see if the symbol table that it originates from has been changed.  */
-
   for (objfile *objfile : current_program_space->objfiles ())
     {
       if (objfile->obfd == NULL)
@@ -2555,7 +2549,7 @@ reread_symbols (void)
          objfile->sections = NULL;
          objfile->compunit_symtabs = NULL;
          objfile->template_symbols = NULL;
-         objfile->static_links = NULL;
+         objfile->static_links.reset (nullptr);
 
          /* obstack_init also initializes the obstack so it is
             empty.  We could use obstack_specify_allocation but
This page took 0.024388 seconds and 4 git commands to generate.