[gdb/testsuite] Fix regexp in skip_opencl_tests
[external/binutils.git] / gdb / printcmd.c
index 9c476e7..03763d5 100644 (file)
 #include "cli/cli-utils.h"
 #include "cli/cli-script.h"
 #include "cli/cli-style.h"
-#include "format.h"
+#include "common/format.h"
 #include "source.h"
 #include "common/byte-vector.h"
-#include "cli/cli-style.h"
 
 /* Last specified output format.  */
 
@@ -1282,7 +1281,7 @@ info_symbol_command (const char *arg, int from_tty)
     error_no_arg (_("address"));
 
   addr = parse_and_eval_address (arg);
-  for (objfile *objfile : all_objfiles (current_program_space))
+  for (objfile *objfile : current_program_space->objfiles ())
     ALL_OBJFILE_OSECTIONS (objfile, osect)
       {
        /* Only process each object file once, even if there's a separate