aboutsummaryrefslogtreecommitdiff
path: root/gdb/inline-frame.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2023-01-16 17:27:28 -0700
committerTom Tromey <tom@tromey.com>2023-02-19 12:51:05 -0700
commita4dfe747564a5728da7c79ca2be3659148c87a49 (patch)
tree4f6df11e4db1f8a68e829e7b41cfebf2ac7b00e2 /gdb/inline-frame.c
parent7f5937df01cc829544baa921bfb81bfe0ccdc892 (diff)
downloadfsf-binutils-gdb-a4dfe747564a5728da7c79ca2be3659148c87a49.zip
fsf-binutils-gdb-a4dfe747564a5728da7c79ca2be3659148c87a49.tar.gz
fsf-binutils-gdb-a4dfe747564a5728da7c79ca2be3659148c87a49.tar.bz2
Convert block_inlined_p to method
This converts block_inlined_p to be a method. This was mostly written by script.
Diffstat (limited to 'gdb/inline-frame.c')
-rw-r--r--gdb/inline-frame.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/inline-frame.c b/gdb/inline-frame.c
index f02f635..21431a2 100644
--- a/gdb/inline-frame.c
+++ b/gdb/inline-frame.c
@@ -228,7 +228,7 @@ inline_frame_sniffer (const struct frame_unwind *self,
cur_block = frame_block;
while (cur_block->superblock ())
{
- if (block_inlined_p (cur_block))
+ if (cur_block->inlined_p ())
depth++;
else if (cur_block->function () != NULL)
break;
@@ -357,7 +357,7 @@ skip_inline_frames (thread_info *thread, bpstat *stop_chain)
cur_block = frame_block;
while (cur_block->superblock ())
{
- if (block_inlined_p (cur_block))
+ if (cur_block->inlined_p ())
{
/* See comments in inline_frame_this_id about this use
of BLOCK_ENTRY_PC. */