This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 1/3] Use std::vector in uploaded_tp
- From: Simon Marchi <simon dot marchi at polymtl dot ca>
- To: Simon Marchi <simon dot marchi at ericsson dot com>, gdb-patches at sourceware dot org
- Date: Fri, 30 Mar 2018 17:19:53 -0400
- Subject: Re: [PATCH 1/3] Use std::vector in uploaded_tp
- References: <1521667509-303-1-git-send-email-simon.marchi@ericsson.com>
On 2018-03-21 05:25 PM, Simon Marchi wrote:
> From: Simon Marchi <simon.marchi@polymtl.ca>
>
> This patch changes the VEC(char_ptr) fields in uploaded_tp to use
> std::vector<char *>. At first, I wanted to creep in more changes, like
> using std::string, but it was making the patch too big and less focused,
> so I decided to keep it to just that.
>
> It also looks like the strings in those vectors are never free'd. If
> so, we can fix that in another patch.
I pushed this series.
Simon