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/python/py-frame.c | |
parent | 6c00f721c834e2c622eb995a58f02900b6d98574 (diff) | |
download | gdb-f135fe728e2d0a6168a8445a50a6d63547c4db2f.zip gdb-f135fe728e2d0a6168a8445a50a6d63547c4db2f.tar.gz gdb-f135fe728e2d0a6168a8445a50a6d63547c4db2f.tar.bz2 |
gdb: remove BLOCK_SUPERBLOCK macro
Replace with equivalent methods.
Change-Id: I334a319909a50b5cc5570a45c38c70e10dc00630
Diffstat (limited to 'gdb/python/py-frame.c')
-rw-r--r-- | gdb/python/py-frame.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/python/py-frame.c b/gdb/python/py-frame.c index c4225c8..769e28c 100644 --- a/gdb/python/py-frame.c +++ b/gdb/python/py-frame.c @@ -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) |