forked from Imagelibrary/binutils-gdb
gdb: remove BLOCK_FUNCTION macro
Replace with equivalent methods. Change-Id: I31ec00f5bf85335c8b23d306ca0fe0b84d489101
This commit is contained in:
committed by
Simon Marchi
parent
4b8791e10e
commit
6c00f721c8
@@ -596,7 +596,7 @@ finalize_symtab (struct gdb_symtab *stab, struct objfile *objfile)
|
||||
block_name->m_name = obstack_strdup (&objfile->objfile_obstack,
|
||||
gdb_block_iter.name.get ());
|
||||
|
||||
BLOCK_FUNCTION (new_block) = block_name;
|
||||
new_block->set_function (block_name);
|
||||
|
||||
BLOCKVECTOR_BLOCK (bv, block_idx) = new_block;
|
||||
if (begin > new_block->start ())
|
||||
|
||||
Reference in New Issue
Block a user