Re: Target Dependent Backtrace Termination

Daniel Jacobowitz
2007-06-12T12:05:35Z

On Tue, Jun 12, 2007 at 04:56:57AM -0700, Robert Norton wrote:
> I think this would be a good idea. I was certainly confused for a while
> because of this, and given the recent discussion on this list about the
> importance of unique frame IDs not having any for the outermost frame
> seems like a bad idea. If you're not keen to add a field to struct
> frame_id or change the signature of frame_this_id, perhaps
> get_prev_frame_1 could be more eager about getting the frame id for the
> prev frame then if it turns out to be null return null to indicate no
> previous frame? This is how I assumed things would work given the
> current interface.

No, I think it would be wiser to do one of the other two ideas you
mentioned. Minimizing unwinding is the central tenet of our current
design, and it seems to work well (though we have room to do it
better).

--
Daniel Jacobowitz
CodeSourcery