2004-04-22 Andrew Cagney <cagney@redhat.com>

* 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.
This commit is contained in:
Andrew Cagney 2004-04-22 17:02:31 +00:00
parent 01e91a6c57
commit 6f14cc33f0
6 changed files with 8 additions and 49 deletions

View file

@ -1,3 +1,11 @@
2004-04-22 Andrew Cagney <cagney@redhat.com>
* 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 <ezannoni@redhat.com>
* MAINTAINERS: Drop maintenance of gdb.stabs, and linespec.c.

View file

@ -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;
}

View file

@ -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;
}

View file

@ -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;
}

View file

@ -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;
}

View file

@ -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;
}