request for structure documentation

Daniel Jacobowitz drow@false.org
Tue Jan 24 22:55:00 GMT 2006


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



More information about the Gdb-patches mailing list