From 6f14cc33f07589f5b04fbc87d452a32efc864002 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Thu, 22 Apr 2004 17:02:31 +0000 Subject: [PATCH] 2004-04-22 Andrew Cagney * arm-tdep.c (arm_prologue_this_id): Delete redundant cycle test. * m68hc11-tdep.c (m68hc11_frame_this_id): Ditto. * m32r-tdep.c (m32r_frame_this_id): Ditto. * frv-tdep.c (frv_frame_this_id): Ditto. * avr-tdep.c (avr_frame_this_id): Ditto. --- gdb/ChangeLog | 8 ++++++++ gdb/arm-tdep.c | 9 --------- gdb/avr-tdep.c | 10 ---------- gdb/frv-tdep.c | 10 ---------- gdb/m32r-tdep.c | 10 ---------- gdb/m68hc11-tdep.c | 10 ---------- 6 files changed, 8 insertions(+), 49 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b252367aeb5..40195246c64 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,11 @@ +2004-04-22 Andrew Cagney + + * arm-tdep.c (arm_prologue_this_id): Delete redundant cycle test. + * m68hc11-tdep.c (m68hc11_frame_this_id): Ditto. + * m32r-tdep.c (m32r_frame_this_id): Ditto. + * frv-tdep.c (frv_frame_this_id): Ditto. + * avr-tdep.c (avr_frame_this_id): Ditto. + 2004-04-22 Elena Zannoni * MAINTAINERS: Drop maintenance of gdb.stabs, and linespec.c. diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c index 3fa37c9a88e..1cd0b1c3427 100644 --- a/gdb/arm-tdep.c +++ b/gdb/arm-tdep.c @@ -993,15 +993,6 @@ arm_prologue_this_id (struct frame_info *next_frame, return; id = frame_id_build (cache->prev_sp, 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). */ - if (frame_relative_level (next_frame) >= 0 - && get_frame_type (next_frame) == NORMAL_FRAME - && frame_id_eq (get_frame_id (next_frame), id)) - return; - *this_id = id; } 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; } diff --git a/gdb/frv-tdep.c b/gdb/frv-tdep.c index 85d062c50f4..f9f27dc3864 100644 --- a/gdb/frv-tdep.c +++ b/gdb/frv-tdep.c @@ -1370,16 +1370,6 @@ frv_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; } diff --git a/gdb/m32r-tdep.c b/gdb/m32r-tdep.c index 1cc522c5a5a..26e4b4aefa8 100644 --- a/gdb/m32r-tdep.c +++ b/gdb/m32r-tdep.c @@ -844,16 +844,6 @@ m32r_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; } diff --git a/gdb/m68hc11-tdep.c b/gdb/m68hc11-tdep.c index efe050955eb..e7e1a1afa3e 100644 --- a/gdb/m68hc11-tdep.c +++ b/gdb/m68hc11-tdep.c @@ -899,16 +899,6 @@ m68hc11_frame_this_id (struct frame_info *next_frame, return; id = frame_id_build (base, func); -#if 0 - /* 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; -#endif (*this_id) = id; } -- 2.30.2