[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gdb-patches
Subject:    request for structure documentation
From:       drow () false ! org (Daniel Jacobowitz)
Date:       2006-01-24 22:55:00
Message-ID: 20060124225542.GA30437 () nevyn ! them ! org
[Download RAW message or body]

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic