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/3] Use std::vector in uploaded_tp


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


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