Automatic date update in version.in
[deliverable/binutils-gdb.git] / gdb / ia64-tdep.c
index 7b4d0a0bfa16d52c4b9200b1ff2b9f6c5fafe81d..f46673986ba781da4bd5a2617e8669006aa5b3f2 100644 (file)
@@ -2845,7 +2845,6 @@ ia64_get_dyn_info_list (unw_addr_space_t as,
                        unw_word_t *dilap, void *arg)
 {
   struct obj_section *text_sec;
-  struct objfile *objfile;
   unw_word_t ip, addr;
   unw_dyn_info_t di;
   int ret;
@@ -2853,7 +2852,7 @@ ia64_get_dyn_info_list (unw_addr_space_t as,
   if (!libunwind_is_initialized ())
     return -UNW_ENOINFO;
 
-  for (objfile = object_files; objfile; objfile = objfile->next)
+  for (objfile *objfile : current_program_space->objfiles ())
     {
       void *buf = NULL;
 
This page took 0.028484 seconds and 4 git commands to generate.