This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 1/5] Make delim_string_to_char_ptr_vec return an std::vector
- From: Simon Marchi <simon dot marchi at polymtl dot ca>
- To: gdb-patches at sourceware dot org
- Date: Fri, 2 Mar 2018 23:23:49 -0500
- Subject: Re: [PATCH 1/5] Make delim_string_to_char_ptr_vec return an std::vector
- Authentication-results: sourceware.org; auth=none
- References: <20180225163247.20157-1-simon.marchi@polymtl.ca>
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