Replace the block_found global with explicit data-flow
[deliverable/binutils-gdb.git] / gdb / eval.c
index 5ab4b9e4b954e0cc660dbadae18a8d0b529f298a..7ccc8836aba10a5373071acaee74ba30e627e883 100644 (file)
@@ -1492,7 +1492,7 @@ evaluate_subexp_standard (struct type *expect_type,
              function = cp_lookup_symbol_namespace (TYPE_TAG_NAME (type),
                                                     name,
                                                     get_selected_block (0),
-                                                    VAR_DOMAIN);
+                                                    VAR_DOMAIN).symbol;
              if (function == NULL)
                error (_("No symbol \"%s\" in namespace \"%s\"."), 
                       name, TYPE_TAG_NAME (type));
This page took 0.03294 seconds and 4 git commands to generate.