[PATCH 1/5] Make delim_string_to_char_ptr_vec return an std::vector
Simon Marchi
simon.marchi@polymtl.ca
Sat Mar 3 04:23:00 GMT 2018
On 2018-02-25 11:32 AM, Simon Marchi wrote:
> This patch makes delim_string_to_char_ptr_vec and all related functions
> use std::vector of gdb::unique_xmalloc_ptr. This allows getting rid of
> make_cleanup_free_char_ptr_vec. Returning a vector of
> unique_xmalloc_ptr instead of std::string allows to minimize the impacts
> on the calling code. We can evaluate later whether we could/should
> return a vector of std::strings instead.
This series is now pushed.
Simon
More information about the Gdb-patches
mailing list