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 | 1b3261edfb7b0c66f538c778a07f0bf2547c906d (diff) | |
download | gdb-769520b7e5c3a6a941969b3b3c52fa04edf73295.zip gdb-769520b7e5c3a6a941969b3b3c52fa04edf73295.tar.gz gdb-769520b7e5c3a6a941969b3b3c52fa04edf73295.tar.bz2 |
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 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; |