diff options
author | Tom Tromey <tom@tromey.com> | 2022-04-16 09:30:53 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2022-06-12 10:49:48 -0600 |
commit | 769520b7e5c3a6a941969b3b3c52fa04edf73295 (patch) | |
tree | 9e86b7d6c019e902852c089f5ca25cf42dfe8bdf /gdb/symtab.c | |
parent | Move addrmap classes to addrmap.h (diff) | |
download | binutils-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.c | 2 |
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; |