constify some blockvector APIs
[deliverable/binutils-gdb.git] / gdb / dwarf2read.c
index 3e441dcc877c721ee8f4b23d31f71476fbca32f3..9a9f5aa84dc06a9d51e22fcaf4353b4e3f59884b 100644 (file)
@@ -3616,7 +3616,7 @@ dw2_lookup_symbol (struct objfile *objfile, int block_index,
             information (but NAME might contain it).  */
          if (stab->primary)
            {
-             struct blockvector *bv = BLOCKVECTOR (stab);
+             const struct blockvector *bv = BLOCKVECTOR (stab);
              struct block *block = BLOCKVECTOR_BLOCK (bv, block_index);
 
              sym = lookup_block_symbol (block, name, domain);
This page took 0.04149 seconds and 4 git commands to generate.