Remove most uses of ALL_OBJFILES
[deliverable/binutils-gdb.git] / gdb / ppc-linux-tdep.c
index 9c35fa44109318b9e502d87e017cd87753e7992e..48bf56dd2f8d691586d4a44cde4c368ec89b0e5f 100644 (file)
@@ -1788,10 +1788,8 @@ ppc_linux_spe_context_lookup (struct objfile *objfile)
 static void
 ppc_linux_spe_context_inferior_created (struct target_ops *t, int from_tty)
 {
-  struct objfile *objfile;
-
   ppc_linux_spe_context_lookup (NULL);
-  ALL_OBJFILES (objfile)
+  for (objfile *objfile : all_objfiles (current_program_space))
     ppc_linux_spe_context_lookup (objfile);
 }
 
This page took 0.025149 seconds and 4 git commands to generate.