]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/symfile-debug.c
gdb: remove COMPUNIT_BLOCKVECTOR macro, add getter/setter
[thirdparty/binutils-gdb.git] / gdb / symfile-debug.c
index cd25789ba9b04532f26c568df83d5272586eb1c5..59dbaf16e62b53e89d042f53ea0d194085ebf780 100644 (file)
@@ -245,7 +245,7 @@ objfile::lookup_symbol (block_enum kind, const char *name, domain_enum domain)
   auto search_one_symtab = [&] (compunit_symtab *stab)
   {
     struct symbol *sym, *with_opaque = NULL;
-    const struct blockvector *bv = COMPUNIT_BLOCKVECTOR (stab);
+    const struct blockvector *bv = stab->blockvector ();
     const struct block *block = BLOCKVECTOR_BLOCK (bv, kind);
 
     sym = block_find_symbol (block, name, domain,