diff options
Diffstat (limited to 'gdb/buildsym.c')
-rw-r--r-- | gdb/buildsym.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gdb/buildsym.c b/gdb/buildsym.c index cee0cc5..68a667a 100644 --- a/gdb/buildsym.c +++ b/gdb/buildsym.c @@ -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) { |