Change all_objfiles adapter to be a method on program_space
[deliverable/binutils-gdb.git] / gdb / compile / compile-object-run.c
index 8abe494218eb38de72216848427fde2c45ef6efd..82b839336ba21542f772660af2ecf1c76869c244 100644 (file)
@@ -82,7 +82,7 @@ do_module_cleanup (void *arg, int registers_valid)
        }
     }
 
-  for (objfile *objfile : all_objfiles (current_program_space))
+  for (objfile *objfile : current_program_space->objfiles ())
     if ((objfile->flags & OBJF_USERLOADED) == 0
         && (strcmp (objfile_name (objfile), data->objfile_name_string) == 0))
       {
This page took 0.024631 seconds and 4 git commands to generate.