Destroying frame caches
Daniel Jacobowitz
drow@false.org
Tue Jun 5 13:26:00 GMT 2007
On Tue, Jun 05, 2007 at 03:06:14PM +0200, Andreas Schwab wrote:
> Daniel Jacobowitz <drow@false.org> 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.
--
Daniel Jacobowitz
CodeSourcery
More information about the Gdb
mailing list