This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 05/10] Make tdesc_feature::registers an std::vector
- From: Yao Qi <qiyaoltc at gmail dot com>
- To: Simon Marchi <simon dot marchi at ericsson dot com>
- Cc: <gdb-patches at sourceware dot org>
- Date: Thu, 02 Nov 2017 09:32:03 +0000
- Subject: Re: [PATCH 05/10] Make tdesc_feature::registers an std::vector
- Authentication-results: sourceware.org; auth=none
- References: <1509414120-14659-1-git-send-email-simon.marchi@ericsson.com> <1509414120-14659-6-git-send-email-simon.marchi@ericsson.com>
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 (齐尧)