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
@@ -645,7 +645,7 @@ generate_c_for_variable_locations (compile_instance *compiler,
|
||||
|
||||
/* If we just finished the outermost block of a function, we're
|
||||
done. */
|
||||
if (BLOCK_FUNCTION (block) != NULL)
|
||||
if (block->function () != NULL)
|
||||
break;
|
||||
block = BLOCK_SUPERBLOCK (block);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user