2002-08-14 Michael Snyder <msnyder@redhat.com>

* mips-tdep.c (mips_frame_chain): Check for call-dummy frames.
This commit is contained in:
Michael Snyder 2002-08-19 23:22:17 +00:00
parent 489461e2aa
commit 7807aa614f
2 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2002-08-14 Michael Snyder <msnyder@redhat.com>
* mips-tdep.c (mips_frame_chain): Check for call-dummy frames.
2002-08-19 Elena Zannoni <ezannoni@redhat.com>
* rs6000-tdep.c (struct reg): Add field to indicate a pseudo

View File

@ -2385,9 +2385,11 @@ mips_frame_chain (struct frame_info *frame)
we loop forever if we see a zero size frame. */
if (PROC_FRAME_REG (proc_desc) == SP_REGNUM
&& PROC_FRAME_OFFSET (proc_desc) == 0
/* The previous frame from a sigtramp frame might be frameless
and have frame size zero. */
&& !frame->signal_handler_caller)
/* The previous frame from a sigtramp frame might be frameless
and have frame size zero. */
&& !frame->signal_handler_caller
/* Check if this is a call dummy frame. */
&& frame->pc != mips_call_dummy_address ())
return 0;
else
return get_frame_pointer (frame, proc_desc);