diff options
Diffstat (limited to 'gdb/cp-support.c')
-rw-r--r-- | gdb/cp-support.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/cp-support.c b/gdb/cp-support.c index 16d8176..4e4d2cb 100644 --- a/gdb/cp-support.c +++ b/gdb/cp-support.c @@ -1378,7 +1378,7 @@ add_symbol_overload_list_qualified (const char *func_name, /* Look through the partial symtabs for all symbols which begin by matching FUNC_NAME. Make sure we read that symbol table in. */ - for (objfile *objf : all_objfiles (current_program_space)) + for (objfile *objf : current_program_space->objfiles ()) { if (objf->sf) objf->sf->qf->expand_symtabs_for_function (objf, func_name); @@ -1395,7 +1395,7 @@ add_symbol_overload_list_qualified (const char *func_name, /* Go through the symtabs and check the externs and statics for symbols which match. */ - for (objfile *objfile : all_objfiles (current_program_space)) + for (objfile *objfile : current_program_space->objfiles ()) { for (compunit_symtab *cust : objfile_compunits (objfile)) { @@ -1405,7 +1405,7 @@ add_symbol_overload_list_qualified (const char *func_name, } } - for (objfile *objfile : all_objfiles (current_program_space)) + for (objfile *objfile : current_program_space->objfiles ()) { for (compunit_symtab *cust : objfile_compunits (objfile)) { |