diff options
Diffstat (limited to 'gdb/valops.c')
-rw-r--r-- | gdb/valops.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/valops.c b/gdb/valops.c index cca610a..427fbb1 100644 --- a/gdb/valops.c +++ b/gdb/valops.c @@ -129,7 +129,8 @@ find_function_in_inferior (const char *name, struct objfile **objf_p) } else { - bound_minimal_symbol msymbol = lookup_minimal_symbol (name); + bound_minimal_symbol msymbol + = lookup_minimal_symbol (current_program_space, name); if (msymbol.minsym != NULL) { |