Value reference counting

Tom Tromey tromey@redhat.com
Fri Jul 17 22:55:00 GMT 2009


>>>>> "Daniel" == Daniel Jacobowitz <drow@false.org> writes:

Daniel> I had a good reason this would leak values for watchpoints, but now I
Daniel> can't get it to work out.  Still, it makes me nervous.

Daniel> free_all_values can have a very long interval.  But it looks like
Daniel> breakpoint commands always run it, so not unbounded user behavior.
Daniel> What about breakpoint conditions?  Is anything released and free'd
Daniel> during a condition check going to linger until we stop?

Good questions all, which I don't have the answer for immediately.  I
don't think this should block your patch, which looks plainly correct to
me.  Any other change here can easily be done later.

Tom



More information about the Gdb-patches mailing list