Remove addrmap wrapper functions

This removes the various addrmap wrapper functions in favor of simple
method calls on the objects themselves.
This commit is contained in:
Tom Tromey
2022-04-16 09:30:53 -06:00
parent 1b3261edfb
commit 769520b7e5
11 changed files with 84 additions and 139 deletions

View File

@@ -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;