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/symtab.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/symtab.c')
-rw-r--r--gdb/symtab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/symtab.c b/gdb/symtab.c
index 8564986f66d..03aa2a96b87 100644
--- a/gdb/symtab.c
+++ b/gdb/symtab.c
@@ -2946,7 +2946,7 @@ find_pc_sect_compunit_symtab (CORE_ADDR pc, struct obj_section *section)
if (bv->map () != nullptr)
{
- if (addrmap_find (bv->map (), pc) == nullptr)
+ if (bv->map ()->find (pc) == nullptr)
continue;
return cust;