]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/stack.c
Use thread_info and inferior pointers more throughout
[thirdparty/binutils-gdb.git] / gdb / stack.c
index 97ebc8bc23f0bd4e1bb8daa3dea0be3f8f5bfb69..9426d4f159963eb97c2a89236d1585f065194685 100644 (file)
@@ -134,7 +134,7 @@ frame_show_address (struct frame_info *frame,
   if (sal.line != 0 && sal.pc == 0 && sal.end == 0)
     {
       if (get_next_frame (frame) == NULL)
-       gdb_assert (inline_skipped_frames (inferior_ptid) > 0);
+       gdb_assert (inline_skipped_frames (inferior_thread ()) > 0);
       else
        gdb_assert (get_frame_type (get_next_frame (frame)) == INLINE_FRAME);
       return 0;