This is the mail archive of the
mailing list for the GDB project.
Re: Destroying frame caches
On Tue, Jun 05, 2007 at 03:06:14PM +0200, Andreas Schwab wrote:
> Daniel Jacobowitz <email@example.com> writes:
> > On Tue, Jun 05, 2007 at 02:47:34PM +0200, Andreas Schwab wrote:
> >> What function does gdb call to destroy a frame cache object?
> > reinit_frame_cache destroys the whole cache; is that what you mean?
> How can you deallocate any extra memory?
Extra memory normally goes on the frame obstack using
frame_obstack_zalloc. There's no hook for target-specific cleanup.