diff options
Diffstat (limited to 'gdb/probe.c')
-rw-r--r-- | gdb/probe.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/probe.c b/gdb/probe.c index 5f42f9b..865c13f 100644 --- a/gdb/probe.c +++ b/gdb/probe.c @@ -73,9 +73,7 @@ parse_probes_in_pspace (const static_probe_ops *spops, const char *name, std::vector<symtab_and_line> *result) { - struct objfile *objfile; - - ALL_PSPACE_OBJFILES (search_pspace, objfile) + for (objfile *objfile : all_objfiles (search_pspace)) { if (!objfile->sf || !objfile->sf->sym_probe_fns) continue; |