mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 17:18:55 +00:00
gdb: remove BLOCK_FUNCTION macro
Replace with equivalent methods. Change-Id: I31ec00f5bf85335c8b23d306ca0fe0b84d489101
This commit is contained in:
committed by
Simon Marchi
parent
4b8791e10e
commit
6c00f721c8
@@ -230,7 +230,7 @@ inline_frame_sniffer (const struct frame_unwind *self,
|
||||
{
|
||||
if (block_inlined_p (cur_block))
|
||||
depth++;
|
||||
else if (BLOCK_FUNCTION (cur_block) != NULL)
|
||||
else if (cur_block->function () != NULL)
|
||||
break;
|
||||
|
||||
cur_block = BLOCK_SUPERBLOCK (cur_block);
|
||||
@@ -372,12 +372,12 @@ skip_inline_frames (thread_info *thread, bpstat *stop_chain)
|
||||
break;
|
||||
|
||||
skip_count++;
|
||||
skipped_syms.push_back (BLOCK_FUNCTION (cur_block));
|
||||
skipped_syms.push_back (cur_block->function ());
|
||||
}
|
||||
else
|
||||
break;
|
||||
}
|
||||
else if (BLOCK_FUNCTION (cur_block) != NULL)
|
||||
else if (cur_block->function () != NULL)
|
||||
break;
|
||||
|
||||
cur_block = BLOCK_SUPERBLOCK (cur_block);
|
||||
|
||||
Reference in New Issue
Block a user