Change "set debug symtab-create" to take a verbosity level.
[deliverable/binutils-gdb.git] / gdb / buildsym.c
index cee0cc54c880a96eebf07198322c720e8c628da5..68a667a92563b91e18670e73b24816e16bf842d9 100644 (file)
@@ -1231,8 +1231,7 @@ end_symtab_from_static_block (struct block *static_block,
          /* All symtabs for the main file and the subfiles share a
             blockvector, so we need to clear primary for everything
             but the main file.  */
-
-         symtab->primary = 0;
+         set_symtab_primary (symtab, 0);
        }
       else
         {
@@ -1280,7 +1279,7 @@ end_symtab_from_static_block (struct block *static_block,
   /* Set this for the main source file.  */
   if (symtab)
     {
-      symtab->primary = 1;
+      set_symtab_primary (symtab, 1);
 
       if (symtab->blockvector)
        {
This page took 0.024794 seconds and 4 git commands to generate.