summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/inline-frame.c')
-rw-r--r--gdb/inline-frame.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/inline-frame.c b/gdb/inline-frame.c
index 57b58f38c22..5cb6776aaff 100644
--- a/gdb/inline-frame.c
+++ b/gdb/inline-frame.c
@@ -289,7 +289,7 @@ block_starting_point_at (CORE_ADDR pc, const struct block *block)
if (bv->map () == nullptr)
return 0;
- new_block = (const struct block *) addrmap_find (bv->map (), pc - 1);
+ new_block = (const struct block *) bv->map ()->find (pc - 1);
if (new_block == NULL)
return 1;