[RFA] Remove a VEC from record-full.c

Simon Marchi simon.marchi@polymtl.ca
Sun Jun 10 21:16:00 GMT 2018


On 2018-06-10 11:57, Tom Tromey wrote:
>>>>>> "Simon" == Simon Marchi <simon.marchi@polymtl.ca> writes:
> 
> Simon> You can use one of the overloads of unordered_remove in
> Simon> common/gdb_vecs.h to try to preserve the exact same behavior as 
> with
> Simon> the VEC.
> 
> Thanks, I didn't know about these.
> 
> How's this?

Maybe I'm missing something, but it seems like the 
record_full_breakpoint objects are never freed.  That's not related to 
your patch though, so your patch LGTM.

Simon



More information about the Gdb-patches mailing list