diff options
Diffstat (limited to 'gdb/d-exp.y')
-rw-r--r-- | gdb/d-exp.y | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/d-exp.y b/gdb/d-exp.y index 62348b1..e0df9bc 100644 --- a/gdb/d-exp.y +++ b/gdb/d-exp.y @@ -1179,8 +1179,8 @@ push_module_name (struct parser_state *ps, struct type *module, char *copy; copy = copy_name (name); - sym = lookup_symbol_static (copy, expression_context_block, - VAR_DOMAIN); + sym = lookup_symbol_in_static_block (copy, expression_context_block, + VAR_DOMAIN); if (sym != NULL) sym = lookup_symbol_global (copy, expression_context_block, VAR_DOMAIN); |