This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 1/5] Make delim_string_to_char_ptr_vec return an std::vector


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]