This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Class-fy tdesc_reg tdesc_type and tdesc_feature
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Tue, 20 Jun 2017 06:56:25 -0400
- Subject: [binutils-gdb] Class-fy tdesc_reg tdesc_type and tdesc_feature
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT 72ddacb77e3301a0481003a23b2d8dced7116de5 ***
Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 72ddacb77e3301a0481003a23b2d8dced7116de5
Class-fy tdesc_reg tdesc_type and tdesc_feature
This patch class-fies them, adding ctor, dtor, and deleting
copy ctor and assignment operator.
gdb:
2017-06-20 Yao Qi <yao.qi@linaro.org>
* target-descriptions.c (tdesc_reg): Add ctor, dtor.
Delete copy ctor and assignment operator.
(tdesc_type): Likewise.
(tdesc_feature): Likewise.
(tdesc_free_reg): Remove.
(tdesc_create_reg): Use new.
(tdesc_free_type): Remove.
(tdesc_create_vector): Use new.
(tdesc_create_union): Likewise.
(tdesc_create_flags): Likewise.
(tdesc_create_enum): Likewise.
(tdesc_free_feature): Delete.
(free_target_description): Use delete.