Use @defvar to document gdb.pretty_printers
[deliverable/binutils-gdb.git] / gdb / symfile.c
index 61483824f63409b6fbf0fbd91908add235e35e9b..68ec491d3572d49dfe2bfddcb5cfe11accea3041 100644 (file)
@@ -2580,7 +2580,6 @@ reread_symbols (void)
          objfile_set_sym_fns (objfile, find_sym_fns (objfile->obfd));
 
          build_objfile_section_table (objfile);
-         terminate_minimal_symbol_table (objfile);
 
          /* We use the same section offsets as from last time.  I'm not
             sure whether that is always correct for shared libraries.  */
@@ -2795,8 +2794,8 @@ allocate_symtab (struct compunit_symtab *cust, const char *filename)
     = OBSTACK_ZALLOC (&objfile->objfile_obstack, struct symtab);
 
   symtab->filename
-    = (const char *) bcache (filename, strlen (filename) + 1,
-                            objfile->per_bfd->filename_cache);
+    = ((const char *) objfile->per_bfd->filename_cache.insert
+       (filename, strlen (filename) + 1));
   symtab->fullname = NULL;
   symtab->language = deduce_language_from_filename (filename);
 
This page took 0.035097 seconds and 4 git commands to generate.