gdb: remove BLOCK_SUPERBLOCK macro

Replace with equivalent methods.

Change-Id: I334a319909a50b5cc5570a45c38c70e10dc00630
This commit is contained in:
Simon Marchi
2022-01-28 11:41:38 -05:00
committed by Simon Marchi
parent 6c00f721c8
commit f135fe728e
26 changed files with 92 additions and 84 deletions

View File

@ -293,7 +293,7 @@ frapy_block (PyObject *self, PyObject *args)
for (fn_block = block;
fn_block != NULL && fn_block->function () == NULL;
fn_block = BLOCK_SUPERBLOCK (fn_block))
fn_block = fn_block->superblock ())
;
if (block == NULL || fn_block == NULL || fn_block->function () == NULL)