[patch rfc] unwind sentinel id/pc

Andrew Cagney ac131313@redhat.com
Fri Mar 7 17:31:00 GMT 2003


> 2003-03-02  Andrew Cagney  <cagney@redhat.com>
> 
> 	* gdbarch.sh (UNWIND_SENTINEL_ID, UNWIND_SENTINEL_PC): New
> 	multi-arch methods with predicate.
> 	* gdbarch.h, gdbarch.c: Regenerate.
> 	* d10v-tdep.c (d10v_unwind_sentinel_id): New function.
> 	(d10v_unwind_sentinel_pc): New function.
> 	(d10v_gdbarch_init): Set unwind_sentinel_id and
> 	unwind_sentinel_pc.
> 	* sentinel-frame.c (struct frame_unwind_cache): Add field cache.
> 	(sentinel_frame_pc_unwind): Use gdbarch_unwind_sentinel_pc.
> 	(sentinel_frame_id_unwind): Use gdbarch_unwind_sentinel_id.
> 

Patch withdrawn.

The underlying problem was that the frame unwind code was calling the 
wrong frame ID unwind method (with the wrong frame).  The `off-by-one' 
bug.  Fixing that makes this unnecessary.

Andrew




More information about the Gdb-patches mailing list