Change all_objfiles adapter to be a method on program_space
[deliverable/binutils-gdb.git] / gdb / python / py-progspace.c
index a17ef69df78a2810a815410d38e3c9024c4ea0c4..b80b2c260f2be32f090339124a3d67da12a74dc1 100644 (file)
@@ -333,7 +333,7 @@ pspy_get_objfiles (PyObject *self_, PyObject *args)
 
   if (self->pspace != NULL)
     {
-      for (objfile *objf : all_objfiles (self->pspace))
+      for (objfile *objf : self->pspace->objfiles ())
        {
          gdbpy_ref<> item = objfile_to_objfile_object (objf);
 
This page took 0.024441 seconds and 4 git commands to generate.