summaryrefslogtreecommitdiffstats
path: root/gdb/frame.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/frame.c')
-rw-r--r--gdb/frame.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gdb/frame.c b/gdb/frame.c
index 7c82941869..9a4af35cf7 100644
--- a/gdb/frame.c
+++ b/gdb/frame.c
@@ -1403,10 +1403,6 @@ legacy_get_prev_frame (struct frame_info *this_frame)
or some random address on the stack. Trying to use that
PC to apply standard frame ID unwind techniques is just
asking for trouble. */
- /* Assume call_function_by_hand(), via SAVE_DUMMY_FRAME_TOS,
- previously saved the dummy frame's ID. Things only work
- if the two return the same value. */
- gdb_assert (SAVE_DUMMY_FRAME_TOS_P ());
/* Use an architecture specific method to extract the prev's
dummy ID from the next frame. Note that this method uses
frame_register_unwind to obtain the register values
OpenPOWER on IntegriCloud