[PATCH v3 02/12] btrace: Transfer ownership of pointers.
Simon Marchi
simon.marchi@polymtl.ca
Tue May 9 12:21:00 GMT 2017
On 2017-05-09 02:55, Tim Wiederhake wrote:
> Directly insert new btrace_function pointers into the vector and have
> the
> vector own these pointers. This allows us to later retrieve these
> objects by
> their number directly after creation whereas at the moment we have to
> wait
> until the vector is fully populated.
>
> This requires to pull btrace_thread_info through different functions
> but
> cleans up the code for freeing the trace.
LGTM.
More information about the Gdb-patches
mailing list