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/psymtab.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/psymtab.c')
-rw-r--r-- | gdb/psymtab.c | 3 |
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, |