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: Destroying frame caches


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


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