Remove most uses of ALL_OBJFILES
[deliverable/binutils-gdb.git] / gdb / jit.c
index 576daf23520634a4aeabc7415b672cd69bbf0e25..e77c03ad59b649a727426a995053ba5feb45f096 100644 (file)
--- a/gdb/jit.c
+++ b/gdb/jit.c
@@ -986,9 +986,7 @@ jit_unregister_code (struct objfile *objfile)
 static struct objfile *
 jit_find_objf_with_entry_addr (CORE_ADDR entry_addr)
 {
-  struct objfile *objf;
-
-  ALL_OBJFILES (objf)
+  for (objfile *objf : all_objfiles (current_program_space))
     {
       struct jit_objfile_data *objf_data;
 
This page took 0.023035 seconds and 4 git commands to generate.