Change all_objfiles adapter to be a method on program_space
[deliverable/binutils-gdb.git] / gdb / python / py-xmethods.c
index acf521dfe3441d98704669944028dfa52d7e41d4..2e0b2bbcc91ee1641206e93c41f36b90fbc0767e 100644 (file)
@@ -143,7 +143,7 @@ gdbpy_get_matching_xmethod_workers
   /* Gather debug method matchers registered with the object files.
      This could be done differently by iterating over each objfile's matcher
      list individually, but there's no data yet to show it's needed.  */
-  for (objfile *objfile : all_objfiles (current_program_space))
+  for (objfile *objfile : current_program_space->objfiles ())
     {
       gdbpy_ref<> py_objfile = objfile_to_objfile_object (objfile);
 
This page took 0.024413 seconds and 4 git commands to generate.