aboutsummaryrefslogtreecommitdiff
path: root/gdb/d-exp.y
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/d-exp.y')
-rw-r--r--gdb/d-exp.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/d-exp.y b/gdb/d-exp.y
index 9fc63af..df89cb6 100644
--- a/gdb/d-exp.y
+++ b/gdb/d-exp.y
@@ -464,7 +464,7 @@ PrimaryExpression:
{
/* Lookup foreign name in global static symbols. */
bound_minimal_symbol msymbol
- = lookup_minimal_symbol (copy.c_str ());
+ = lookup_minimal_symbol (current_program_space, copy.c_str ());
if (msymbol.minsym != NULL)
pstate->push_new<var_msym_value_operation> (msymbol);
else if (!have_full_symbols (current_program_space)