diff options
author | Michael Snyder <msnyder@vmware.com> | 2002-08-19 23:22:17 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2002-08-19 23:22:17 +0000 |
commit | 7807aa614ff5cc5aba850e1586ce1a84e5392067 (patch) | |
tree | c60336d1858d1cb8512a198549ea3b6625148685 /gdb/mips-tdep.c | |
parent | 489461e2aa400b4d4e51d6d6d5b9c4a1513d1e8e (diff) | |
download | gdb-7807aa614ff5cc5aba850e1586ce1a84e5392067.zip gdb-7807aa614ff5cc5aba850e1586ce1a84e5392067.tar.gz gdb-7807aa614ff5cc5aba850e1586ce1a84e5392067.tar.bz2 |
2002-08-14 Michael Snyder <msnyder@redhat.com>
* mips-tdep.c (mips_frame_chain): Check for call-dummy frames.
Diffstat (limited to 'gdb/mips-tdep.c')
-rw-r--r-- | gdb/mips-tdep.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/gdb/mips-tdep.c b/gdb/mips-tdep.c index 6ced9fc..296dea6 100644 --- a/gdb/mips-tdep.c +++ b/gdb/mips-tdep.c @@ -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); |