mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-20 18:08:24 +08:00
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
@ -2273,7 +2273,7 @@ iterate_over_block_local_vars (const struct block *block,
|
||||
/* After handling the function's top-level block, stop. Don't
|
||||
continue to its superblock, the block of per-file
|
||||
symbols. */
|
||||
if (BLOCK_FUNCTION (block))
|
||||
if (block->function ())
|
||||
break;
|
||||
block = BLOCK_SUPERBLOCK (block);
|
||||
}
|
||||
|
Reference in New Issue
Block a user