aboutsummaryrefslogtreecommitdiff
path: root/gdb/mdebugread.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2019-01-16 06:37:15 -0700
committerTom Tromey <tom@tromey.com>2019-01-17 15:42:05 -0700
commitf252c6d5dc49cb27838e153e863f16ea7895859e (patch)
tree4b84a64f29b3e1318eead66fc233483a04a931a5 /gdb/mdebugread.c
parentb669c95337903d39aa2254e8ea0405c0ac117d24 (diff)
downloadfsf-binutils-gdb-f252c6d5dc49cb27838e153e863f16ea7895859e.zip
fsf-binutils-gdb-f252c6d5dc49cb27838e153e863f16ea7895859e.tar.gz
fsf-binutils-gdb-f252c6d5dc49cb27838e153e863f16ea7895859e.tar.bz2
Make psymtab range adapter a method on objfile
This removes the objfile_psymtabs class in favor of a method on objfile and on psymtab_storage. 2019-01-16 Tom Tromey <tom@tromey.com> * objfiles.h (struct objfile) <psymtabs>: New method. (class objfile_psymtabs): Remove. * psymtab.h (class psymtab_storage) <partial_symtab_range>: New typedef. <range>: New method. (require_partial_symbols): Change return type. * psymtab.c (require_partial_symbols) (psym_expand_symtabs_matching): Update. * mdebugread.c (parse_partial_symbols): Update. * dbxread.c (dbx_end_psymtab): Update.
Diffstat (limited to 'gdb/mdebugread.c')
-rw-r--r--gdb/mdebugread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/mdebugread.c b/gdb/mdebugread.c
index 4bdf973..accf07c 100644
--- a/gdb/mdebugread.c
+++ b/gdb/mdebugread.c
@@ -3684,7 +3684,7 @@ parse_partial_symbols (minimal_symbol_reader &reader,
&& save_pst->text_low_valid
&& !(objfile->flags & OBJF_REORDERED))
{
- for (partial_symtab *iter : objfile_psymtabs (objfile))
+ for (partial_symtab *iter : objfile->psymtabs ())
{
if (save_pst != iter
&& save_pst->raw_text_low () >= iter->raw_text_low ()