This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: frame cache
On Tue, Jul 24, 2007 at 10:08:25AM -0700, Michael Eager wrote:
> And one more question:
>
> 3) In <target>_skip_prologue(), an dummy <target>_frame_cache is
> created to be passed to <target>_analyze_prologue(). This
> dummy cache entry is discarded. Why not retain this info?
I think the answers to your other two questions should clarify this.
We don't have anywhere to keep it, and the information is not quite
the same because it depends how far into the function we're allowed to
analyze (the PC "limit"). Also, many targets don't do it this way.
--
Daniel Jacobowitz
CodeSourcery