diff options
Diffstat (limited to 'gdb/avr-tdep.c')
-rw-r--r-- | gdb/avr-tdep.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/gdb/avr-tdep.c b/gdb/avr-tdep.c index d9c16a55aa8..e7faef19ea7 100644 --- a/gdb/avr-tdep.c +++ b/gdb/avr-tdep.c @@ -966,16 +966,6 @@ avr_frame_this_id (struct frame_info *next_frame, return; id = frame_id_build (base, func); - - /* Check that we're not going round in circles with the same frame - ID (but avoid applying the test to sentinel frames which do go - round in circles). Can't use frame_id_eq() as that doesn't yet - compare the frame's PC value. */ - if (frame_relative_level (next_frame) >= 0 - && get_frame_type (next_frame) != DUMMY_FRAME - && frame_id_eq (get_frame_id (next_frame), id)) - return; - (*this_id) = id; } |