This is the mail archive of the gdb@sourceware.org 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: Target Dependent Backtrace Termination


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


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