]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/maint.c
gdb: remove COMPUNIT_BLOCKVECTOR macro, add getter/setter
[thirdparty/binutils-gdb.git] / gdb / maint.c
index f7e1828e2810fc0192d210550a0ab9d59ad57180..11dc2e466d6bee7a64f00feb6f66052cb487f040 100644 (file)
@@ -946,7 +946,7 @@ count_symtabs_and_blocks (int *nr_symtabs_ptr, int *nr_compunit_symtabs_ptr,
          for (compunit_symtab *cu : o->compunits ())
            {
              ++nr_compunit_symtabs;
-             nr_blocks += BLOCKVECTOR_NBLOCKS (COMPUNIT_BLOCKVECTOR (cu));
+             nr_blocks += BLOCKVECTOR_NBLOCKS (cu->blockvector ());
              nr_symtabs += std::distance (cu->filetabs ().begin (),
                                           cu->filetabs ().end ());
            }