mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-27 09:38:57 +00:00
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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user