Convert dprintf to vtable ops
[binutils-gdb.git] / gdb / ada-exp.y
index 60a7c1bf91f5304a0f0000e3fe9a9eca74bf178f..8660205809a23a386a8dd39536d10f09a15f53c6 100644 (file)
@@ -1369,8 +1369,7 @@ block_lookup (const struct block *context, const char *raw_name)
     symtab = NULL;
 
   if (symtab != NULL)
-    result = BLOCKVECTOR_BLOCK (symtab->compunit ()->blockvector (),
-                               STATIC_BLOCK);
+    result = symtab->compunit ()->blockvector ()->static_block ();
   else if (syms.empty () || syms[0].symbol->aclass () != LOC_BLOCK)
     {
       if (context == NULL)