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


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.

-- 
Yao (齐尧)


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