Remove ALL_PSPACES
[deliverable/binutils-gdb.git] / gdb / symfile-debug.c
index 75e6f2d0d8998962f9eb65728784f630cd2ff233..203609c326bc3ca9732cd3dfc5fdb11a83d7370e 100644 (file)
@@ -621,9 +621,7 @@ objfile_set_sym_fns (struct objfile *objfile, const struct sym_fns *sf)
 static void
 set_debug_symfile (const char *args, int from_tty, struct cmd_list_element *c)
 {
-  struct program_space *pspace;
-
-  ALL_PSPACES (pspace)
+  for (struct program_space *pspace : program_spaces)
     for (objfile *objfile : pspace->objfiles ())
       {
        if (debug_symfile)
This page took 0.025179 seconds and 4 git commands to generate.