forked from Imagelibrary/binutils-gdb
gdb: remove BLOCK_SUPERBLOCK macro
Replace with equivalent methods. Change-Id: I334a319909a50b5cc5570a45c38c70e10dc00630
This commit is contained in:
committed by
Simon Marchi
parent
6c00f721c8
commit
f135fe728e
@@ -331,7 +331,7 @@ buildsym_compunit::finish_block_internal
|
||||
pblock && pblock != old_blocks;
|
||||
pblock = pblock->next)
|
||||
{
|
||||
if (BLOCK_SUPERBLOCK (pblock->block) == NULL)
|
||||
if (pblock->block->superblock () == NULL)
|
||||
{
|
||||
/* Check to be sure the blocks are nested as we receive
|
||||
them. If the compiler/assembler/linker work, this just
|
||||
@@ -365,7 +365,7 @@ buildsym_compunit::finish_block_internal
|
||||
if (pblock->block->end () > block->end ())
|
||||
pblock->block->set_end (block->end ());
|
||||
}
|
||||
BLOCK_SUPERBLOCK (pblock->block) = block;
|
||||
pblock->block->set_superblock (block);
|
||||
}
|
||||
opblock = pblock;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user