forked from Imagelibrary/binutils-gdb
Use block::is_static_block in ada-lang.c
This changes one spot in ada-lang.c to use block::is_static_block rather than a hand-rolled implementation. Note this also fixes the call -- what is currently written there is wrong. Approved-By: Tom de Vries <tdevries@suse.de>
This commit is contained in:
@@ -13637,7 +13637,7 @@ public:
|
||||
|
||||
for (b = get_selected_block (0); b != NULL; b = b->superblock ())
|
||||
{
|
||||
if (!b->superblock ())
|
||||
if (b->is_static_block ())
|
||||
surrounding_static_block = b; /* For elmin of dups */
|
||||
|
||||
for (struct symbol *sym : block_iterator_range (b))
|
||||
|
||||
Reference in New Issue
Block a user