This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch rfc] unwind sentinel id/pc


2003-03-02 Andrew Cagney <cagney at redhat dot 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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]