]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/objfiles.c
gdb: remove COMPUNIT_BLOCKVECTOR macro, add getter/setter
[thirdparty/binutils-gdb.git] / gdb / objfiles.c
index d0c7ac83d379a5fdded22bd9cd6390fe8a79356b..f363cb453f3a274893db39b8e0a4222d11bc4ffd 100644 (file)
@@ -667,7 +667,7 @@ objfile_relocate1 (struct objfile *objfile,
 
     for (compunit_symtab *cust : objfile->compunits ())
       {
-       const struct blockvector *bv = COMPUNIT_BLOCKVECTOR (cust);
+       const struct blockvector *bv = cust->blockvector ();
        int block_line_section = COMPUNIT_BLOCK_LINE_SECTION (cust);
 
        if (BLOCKVECTOR_MAP (bv))