Convert set_block_compunit_symtab to method

This converts set_block_compunit_symtab to be a method.  This was
mostly written by script.
This commit is contained in:
Tom Tromey
2023-01-17 06:39:07 -07:00
parent d24e14a0c6
commit cade9c8a45
4 changed files with 10 additions and 9 deletions

View File

@@ -623,7 +623,7 @@ finalize_symtab (struct gdb_symtab *stab, struct objfile *objfile)
bv->set_block (i, new_block);
if (i == GLOBAL_BLOCK)
set_block_compunit_symtab (new_block, cust);
new_block->set_compunit_symtab (cust);
}
/* Fill up the superblock fields for the real blocks, using the