X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=gdb%2Fada-lang.c;h=2bb64ae03bde1395701c6deefac6669aef3e3eea;hb=af39c5c8749757724a0f62dcb51be59cf3ecc678;hp=5a67853455da90ead60294480e87ae3fb6abae9c;hpb=0d9acb4531cfe336b2b335fbaa1f2ef878a6e4d9;p=thirdparty%2Fbinutils-gdb.git diff --git a/gdb/ada-lang.c b/gdb/ada-lang.c index 5a67853455d..2bb64ae03bd 100644 --- a/gdb/ada-lang.c +++ b/gdb/ada-lang.c @@ -5237,7 +5237,7 @@ map_matching_symbols (struct objfile *objfile, for (compunit_symtab *symtab : objfile->compunits ()) { const struct block *block - = BLOCKVECTOR_BLOCK (COMPUNIT_BLOCKVECTOR (symtab), block_kind); + = BLOCKVECTOR_BLOCK (symtab->blockvector (), block_kind); if (!iterate_over_symbols_terminated (block, lookup_name, domain, data)) break; @@ -5266,7 +5266,7 @@ add_nonlocal_symbols (std::vector &result, for (compunit_symtab *cu : objfile->compunits ()) { const struct block *global_block - = BLOCKVECTOR_BLOCK (COMPUNIT_BLOCKVECTOR (cu), GLOBAL_BLOCK); + = BLOCKVECTOR_BLOCK (cu->blockvector (), GLOBAL_BLOCK); if (ada_add_block_renamings (result, global_block, lookup_name, domain)) @@ -12617,7 +12617,7 @@ ada_add_global_exceptions (compiled_regex *preg, { for (compunit_symtab *s : objfile->compunits ()) { - const struct blockvector *bv = COMPUNIT_BLOCKVECTOR (s); + const struct blockvector *bv = s->blockvector (); int i; for (i = GLOBAL_BLOCK; i <= STATIC_BLOCK; i++) @@ -13204,7 +13204,7 @@ public: for (compunit_symtab *s : objfile->compunits ()) { QUIT; - b = BLOCKVECTOR_BLOCK (COMPUNIT_BLOCKVECTOR (s), GLOBAL_BLOCK); + b = BLOCKVECTOR_BLOCK (s->blockvector (), GLOBAL_BLOCK); ALL_BLOCK_SYMBOLS (b, iter, sym) { if (completion_skip_symbol (mode, sym)) @@ -13223,7 +13223,7 @@ public: for (compunit_symtab *s : objfile->compunits ()) { QUIT; - b = BLOCKVECTOR_BLOCK (COMPUNIT_BLOCKVECTOR (s), STATIC_BLOCK); + b = BLOCKVECTOR_BLOCK (s->blockvector (), STATIC_BLOCK); /* Don't do this block twice. */ if (b == surrounding_static_block) continue;