Support styling on native MS-Windows console
[deliverable/binutils-gdb.git] / gdb / solib-spu.c
index 8419c2c139068c85241c73496b4aa71e71486232..4f5e8e0c75b391f59187e6378fcaeaa77553d24b 100644 (file)
@@ -1,5 +1,5 @@
 /* Cell SPU GNU/Linux support -- shared library handling.
-   Copyright (C) 2009-2018 Free Software Foundation, Inc.
+   Copyright (C) 2009-2019 Free Software Foundation, Inc.
 
    Contributed by Ulrich Weigand <uweigand@de.ibm.com>.
 
@@ -101,9 +101,8 @@ static void
 append_ocl_sos (struct so_list **link_ptr)
 {
   CORE_ADDR *ocl_program_addr_base;
-  struct objfile *objfile;
 
-  ALL_OBJFILES (objfile)
+  for (objfile *objfile : current_program_space->objfiles ())
     {
       ocl_program_addr_base
        = (CORE_ADDR *) objfile_data (objfile, ocl_program_data_key);
This page took 0.024672 seconds and 4 git commands to generate.