summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2022-04-16 09:30:53 -0600
committerTom Tromey <tom@tromey.com>2022-06-12 10:49:48 -0600
commit769520b7e5c3a6a941969b3b3c52fa04edf73295 (patch)
tree9e86b7d6c019e902852c089f5ca25cf42dfe8bdf /gdb/inline-frame.c
parentMove addrmap classes to addrmap.h (diff)
downloadbinutils-gdb-769520b7e5c3a6a941969b3b3c52fa04edf73295.tar.gz
binutils-gdb-769520b7e5c3a6a941969b3b3c52fa04edf73295.tar.bz2
binutils-gdb-769520b7e5c3a6a941969b3b3c52fa04edf73295.zip
Remove addrmap wrapper functions
This removes the various addrmap wrapper functions in favor of simple method calls on the objects themselves.
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;