diff options
Diffstat (limited to 'gdb/inline-frame.c')
-rw-r--r-- | gdb/inline-frame.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gdb/inline-frame.c b/gdb/inline-frame.c index c502674..57b58f3 100644 --- a/gdb/inline-frame.c +++ b/gdb/inline-frame.c @@ -286,11 +286,10 @@ block_starting_point_at (CORE_ADDR pc, const struct block *block) const struct block *new_block; bv = blockvector_for_pc (pc, NULL); - if (BLOCKVECTOR_MAP (bv) == NULL) + if (bv->map () == nullptr) return 0; - new_block = (const struct block *) addrmap_find (BLOCKVECTOR_MAP (bv), - pc - 1); + new_block = (const struct block *) addrmap_find (bv->map (), pc - 1); if (new_block == NULL) return 1; |