[OB] Add cleanup, source.c

Daniel Jacobowitz drow@false.org
Sat Jun 30 16:40:00 GMT 2007


On Sat, Jun 30, 2007 at 09:00:56AM -0700, Michael Snyder wrote:
> Depends on what the "cleanups" are, I suppose.  Those I'm familiar
> with are mostly xfrees, fcloses, etc.  Doesn't really matter what
> order they are performed in, so long as they get done before the
> next command loop cycle.
> 
> Can you give me an example of such non-deterministic behavior?

If you're called from any function that discards cleanups, your
cleanups will be lost.  There's about 50...

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gdb-patches mailing list