diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2022-01-28 11:41:38 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2022-04-27 22:05:03 -0400 |
commit | f135fe728e2d0a6168a8445a50a6d63547c4db2f (patch) | |
tree | 947174858fcdf60492112022ce9d87aff69d1ffd /gdb/buildsym.c | |
parent | 6c00f721c834e2c622eb995a58f02900b6d98574 (diff) | |
download | binutils-gdb-f135fe728e2d0a6168a8445a50a6d63547c4db2f.tar.gz |
gdb: remove BLOCK_SUPERBLOCK macro
Replace with equivalent methods.
Change-Id: I334a319909a50b5cc5570a45c38c70e10dc00630
Diffstat (limited to 'gdb/buildsym.c')
-rw-r--r-- | gdb/buildsym.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/buildsym.c b/gdb/buildsym.c index f761444fff4..5c5fc207d6e 100644 --- a/gdb/buildsym.c +++ b/gdb/buildsym.c @@ -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; } |