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
@@ -504,7 +504,7 @@ cp_lookup_symbol_imports_or_template (const char *scope,
|
||||
const struct block *block,
|
||||
const domain_enum domain)
|
||||
{
|
||||
struct symbol *function = BLOCK_FUNCTION (block);
|
||||
struct symbol *function = block->function ();
|
||||
struct block_symbol result;
|
||||
|
||||
if (symbol_lookup_debug)
|
||||
|
||||
Reference in New Issue
Block a user