diff options
Diffstat (limited to 'gdb/parse.c')
-rw-r--r-- | gdb/parse.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gdb/parse.c b/gdb/parse.c index d5bbc4d..03763de 100644 --- a/gdb/parse.c +++ b/gdb/parse.c @@ -145,7 +145,8 @@ parser_state::push_symbol (const char *name, block_symbol sym) } else { - bound_minimal_symbol msymbol = lookup_minimal_symbol (name); + bound_minimal_symbol msymbol + = lookup_minimal_symbol (current_program_space, name); if (msymbol.minsym != NULL) push_new<expr::var_msym_value_operation> (msymbol); else if (!have_full_symbols (current_program_space) @@ -231,7 +232,8 @@ parser_state::push_dollar (struct stoken str) push_new<expr::var_value_operation> (sym); return; } - bound_minimal_symbol msym = lookup_minimal_symbol (copy.c_str ()); + bound_minimal_symbol msym + = lookup_minimal_symbol (current_program_space, copy.c_str ()); if (msym.minsym) { push_new<expr::var_msym_value_operation> (msym); |