aboutsummaryrefslogtreecommitdiff
path: root/gdb/frame.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/frame.c')
-rw-r--r--gdb/frame.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/frame.c b/gdb/frame.c
index 8c30979..4d092d0 100644
--- a/gdb/frame.c
+++ b/gdb/frame.c
@@ -2584,7 +2584,8 @@ inside_main_func (const frame_info_ptr &this_frame)
CORE_ADDR sym_addr = 0;
const char *name = main_name ();
bound_minimal_symbol msymbol
- = lookup_minimal_symbol (name, current_program_space->symfile_object_file);
+ = lookup_minimal_symbol (current_program_space, name,
+ current_program_space->symfile_object_file);
if (msymbol.minsym != nullptr)
sym_addr = msymbol.value_address ();