testsuite: Extend TLS core file testing with an OS-generated dump
[deliverable/binutils-gdb.git] / gdb / frame.c
index 90d0ac7b87034ceb8720509f935c6c4e32ae491c..07fa2bc77d6e8d4d1cea0517fef9223f96045b4d 100644 (file)
@@ -2217,7 +2217,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),
-                                             &current_target);
+                                             target_stack);
   return maddr == get_frame_func (this_frame);
 }
 
This page took 0.02397 seconds and 4 git commands to generate.