This is the mail archive of the
mailing list for the GDB project.
Re: Value reference counting
>>>>> "Daniel" == Daniel Jacobowitz <email@example.com> 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.