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/psymtab.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/psymtab.c')
-rw-r--r--gdb/psymtab.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/psymtab.c b/gdb/psymtab.c
index e6c9526cc4f..bf8a7432186 100644
--- a/gdb/psymtab.c
+++ b/gdb/psymtab.c
@@ -190,8 +190,7 @@ psymbol_functions::find_pc_sect_psymtab (struct objfile *objfile,
struct partial_symtab *pst
= ((struct partial_symtab *)
- addrmap_find (m_partial_symtabs->psymtabs_addrmap,
- pc - baseaddr));
+ m_partial_symtabs->psymtabs_addrmap->find (pc - baseaddr));
if (pst != NULL)
{
/* FIXME: addrmaps currently do not handle overlayed sections,