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/blockframe.c | |
parent | 6c00f721c834e2c622eb995a58f02900b6d98574 (diff) | |
download | binutils-f135fe728e2d0a6168a8445a50a6d63547c4db2f.zip binutils-f135fe728e2d0a6168a8445a50a6d63547c4db2f.tar.gz binutils-f135fe728e2d0a6168a8445a50a6d63547c4db2f.tar.bz2 |
gdb: remove BLOCK_SUPERBLOCK macro
Replace with equivalent methods.
Change-Id: I334a319909a50b5cc5570a45c38c70e10dc00630
Diffstat (limited to 'gdb/blockframe.c')
-rw-r--r-- | gdb/blockframe.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/blockframe.c b/gdb/blockframe.c index aaf7695..cfc4fd2 100644 --- a/gdb/blockframe.c +++ b/gdb/blockframe.c @@ -75,7 +75,7 @@ get_frame_block (struct frame_info *frame, CORE_ADDR *addr_in_block) if (block_inlined_p (bl)) inline_count--; - bl = BLOCK_SUPERBLOCK (bl); + bl = bl->superblock (); gdb_assert (bl != NULL); } @@ -122,8 +122,8 @@ get_frame_function (struct frame_info *frame) if (bl == NULL) return NULL; - while (bl->function () == NULL && BLOCK_SUPERBLOCK (bl) != NULL) - bl = BLOCK_SUPERBLOCK (bl); + while (bl->function () == NULL && bl->superblock () != NULL) + bl = bl->superblock (); return bl->function (); } |