Add compunits range adapter to objfile
[deliverable/binutils-gdb.git] / gdb / mi / mi-cmd-file.c
index 0d9770a2f58ea970627a9b2776ece0f0f398dc33..714ab01b2646c1c82ed8ccb437d28c1fb916d11b 100644 (file)
@@ -94,7 +94,7 @@ mi_cmd_file_list_exec_source_files (const char *command, char **argv, int argc)
   /* Look at all of the file symtabs.  */
   for (objfile *objfile : current_program_space->objfiles ())
     {
-      for (compunit_symtab *cu : objfile_compunits (objfile))
+      for (compunit_symtab *cu : objfile->compunits ())
        {
          for (symtab *s : compunit_filetabs (cu))
            {
This page took 0.023746 seconds and 4 git commands to generate.