Simplify calls to init_psymbol_list
[deliverable/binutils-gdb.git] / gdb / dbxread.c
index 73e436f4f62fe5f3d5d0ef24f4e9cdf6882788fa..6149175d732d42c5dfd35fc476a7e88c60833bd2 100644 (file)
@@ -536,9 +536,7 @@ dbx_symfile_read (struct objfile *objfile, symfile_add_flags symfile_flags)
     perror_with_name (objfile_name (objfile));
 
   /* Size the symbol table.  */
-  if (objfile->global_psymbols.capacity () == 0
-      && objfile->static_psymbols.capacity () == 0)
-    init_psymbol_list (objfile, DBX_SYMCOUNT (objfile));
+  init_psymbol_list (objfile, DBX_SYMCOUNT (objfile));
 
   symbol_size = DBX_SYMBOL_SIZE (objfile);
   symbol_table_offset = DBX_SYMTAB_OFFSET (objfile);
This page took 0.023973 seconds and 4 git commands to generate.