Change all_objfiles adapter to be a method on program_space
[deliverable/binutils-gdb.git] / gdb / cp-support.c
index 16d81763419f90ba11de2fb96cfedd79735deecd..4e4d2cbc747901e44d119135086dc4fef88c5ca3 100644 (file)
@@ -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))
        {
This page took 0.02336 seconds and 4 git commands to generate.