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/inline-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/inline-frame.c')
-rw-r--r-- | gdb/inline-frame.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/inline-frame.c b/gdb/inline-frame.c index 95cc80b..bd173a1 100644 --- a/gdb/inline-frame.c +++ b/gdb/inline-frame.c @@ -226,14 +226,14 @@ inline_frame_sniffer (const struct frame_unwind *self, location. */ depth = 0; cur_block = frame_block; - while (BLOCK_SUPERBLOCK (cur_block)) + while (cur_block->superblock ()) { if (block_inlined_p (cur_block)) depth++; else if (cur_block->function () != NULL) break; - cur_block = BLOCK_SUPERBLOCK (cur_block); + cur_block = cur_block->superblock (); } /* Check how many inlined functions already have frames. */ @@ -356,7 +356,7 @@ skip_inline_frames (thread_info *thread, bpstat *stop_chain) if (frame_block != NULL) { cur_block = frame_block; - while (BLOCK_SUPERBLOCK (cur_block)) + while (cur_block->superblock ()) { if (block_inlined_p (cur_block)) { @@ -380,7 +380,7 @@ skip_inline_frames (thread_info *thread, bpstat *stop_chain) else if (cur_block->function () != NULL) break; - cur_block = BLOCK_SUPERBLOCK (cur_block); + cur_block = cur_block->superblock (); } } |