diff options
Diffstat (limited to 'gdb/frame.c')
-rw-r--r-- | gdb/frame.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/frame.c b/gdb/frame.c index 89f48ae..d8309e7 100644 --- a/gdb/frame.c +++ b/gdb/frame.c @@ -2222,7 +2222,7 @@ inside_main_func (struct frame_info *this_frame) returned. */ maddr = gdbarch_convert_from_func_ptr_addr (get_frame_arch (this_frame), BMSYMBOL_VALUE_ADDRESS (msymbol), - target_stack); + current_top_target ()); return maddr == get_frame_func (this_frame); } |