Add compunits range adapter to objfile
[deliverable/binutils-gdb.git] / gdb / maint.c
index e653a5d4ac82eec3170847ddd4f3ea41569e9001..ddd25a480cca2235aea5cd9fb99d476a26499e33 100644 (file)
@@ -773,7 +773,7 @@ count_symtabs_and_blocks (int *nr_symtabs_ptr, int *nr_compunit_symtabs_ptr,
     {
       for (objfile *o : current_program_space->objfiles ())
        {
-         for (compunit_symtab *cu : objfile_compunits (o))
+         for (compunit_symtab *cu : o->compunits ())
            {
              ++nr_compunit_symtabs;
              nr_blocks += BLOCKVECTOR_NBLOCKS (COMPUNIT_BLOCKVECTOR (cu));
This page took 0.023067 seconds and 4 git commands to generate.