* gdbarch.sh (read_sp): Remove.
[deliverable/binutils-gdb.git] / gdb / frame.c
index 2c62d441a6bbae2d4169af072a3118f736437dfa..d066a49b738d2cc3f3aac867012a1cc0d05a9f0c 100644 (file)
@@ -1712,10 +1712,6 @@ frame_sp_unwind (struct frame_info *next_frame)
      frame inner-most address.  */
   if (gdbarch_unwind_sp_p (current_gdbarch))
     return gdbarch_unwind_sp (current_gdbarch, next_frame);
-  /* Things are looking grim.  If it's the inner-most frame and there
-     is a TARGET_READ_SP, then that can be used.  */
-  if (next_frame->level < 0 && TARGET_READ_SP_P ())
-    return TARGET_READ_SP ();
   /* Now things are really are grim.  Hope that the value returned by
      the SP_REGNUM register is meaningful.  */
   if (SP_REGNUM >= 0)
This page took 0.023787 seconds and 4 git commands to generate.