diff options
Diffstat (limited to 'gdb/symfile-debug.c')
-rw-r--r-- | gdb/symfile-debug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/symfile-debug.c b/gdb/symfile-debug.c index b71fa8b0010..9dc18807326 100644 --- a/gdb/symfile-debug.c +++ b/gdb/symfile-debug.c @@ -662,7 +662,7 @@ set_debug_symfile (const char *args, int from_tty, struct cmd_list_element *c) struct program_space *pspace; ALL_PSPACES (pspace) - for (objfile *objfile : all_objfiles (pspace)) + for (objfile *objfile : pspace->objfiles ()) { if (debug_symfile) { |