diff options
Diffstat (limited to 'gdb/symfile-debug.c')
-rw-r--r-- | gdb/symfile-debug.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/symfile-debug.c b/gdb/symfile-debug.c index 75e6f2d..203609c 100644 --- a/gdb/symfile-debug.c +++ b/gdb/symfile-debug.c @@ -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) |