aboutsummaryrefslogtreecommitdiff
path: root/gdb/symtab.c
diff options
context:
space:
mode:
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 8564986..03aa2a9 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;