This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] -stack-info-frame/-stack-list-frames
On Fri, Apr 25, 2008 at 11:03:52AM +1200, Nick Roberts wrote:
> Maybe Gdb could somehow identify the cases where the address isn't useful.
If there are known cases where the address isn't useful, I (like
Vladimir) do not understand why we should export it.
> I don't think the number need be that unbounded, it's not needed for each
> frame, only those in which a varobj is created. But it appears that the
> linked list of frames gets destroyed and recreated each time execution
> occurs, in which case any id information is also lost (I was looking at
> using an extra member in struct frame_info).
Right, that's the whole problem. It has to last as long as the
frame_id, not the frame_info.
--
Daniel Jacobowitz
CodeSourcery