This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: request for structure documentation
On Tue, Jan 24, 2006 at 04:51:16PM -0600, NZG wrote:
> A more specific question:
>
> My code appears to be fixable by either causing the architecture specific
> unwind code to return null in frame 0, or by allowing unwind to occur here,
> but then setting the id to invalid on the unwound frame, thus preventing it
> from printing and stopping the chain of get_prev_frames.
>
> But which is correct? This seems unclear from the comments
When you look at a frame, and determine that it is the last frame
(unwinding should stop), return an invalid this_id. The problem is
presumably that you're failing to make that decision.
--
Daniel Jacobowitz
CodeSourcery