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 05/10] Make tdesc_feature::registers an std::vector


On 2017-11-02 05:32 AM, Yao Qi wrote:
> Simon Marchi <simon.marchi@ericsson.com> writes:
> 
>>    /* The registers associated with this feature.  */
>> -  VEC(tdesc_reg_p) *registers = NULL;
>> +  std::vector<std::unique_ptr<tdesc_reg>> registers;
> 
> Use tdesc_reg_up.
> 
> Patch is good to me.

Thanks, fixed.

Simon


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