forked from Imagelibrary/binutils-gdb
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user