This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [OB] Add cleanup, source.c
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