* gdbtk/generic/gdbtk-cmds.c (gdb_listfiles): use a program space_method for
objfiles.
Use an objfile method for compunits.
-Subproject commit 1910070b298052d7ca8e4024891465824588c1e9
+Subproject commit 241110d6cde08bf7367281bac67951d11639269e
map_symbol_filenames (do_listfiles, &info, 0);
- for (objfile *objfile : all_objfiles (current_program_space))
+ for (objfile *objfile : current_program_space->objfiles ())
{
- for (compunit_symtab *cu : objfile_compunits (objfile))
+ for (compunit_symtab *cu : objfile->compunits ())
{
for (symtab *symtab : compunit_filetabs (cu))
{