diff options
author | Yao Qi <yao.qi@linaro.org> | 2017-06-20 11:29:17 +0100 |
---|---|---|
committer | Yao Qi <yao.qi@linaro.org> | 2017-06-20 11:29:17 +0100 |
commit | 72ddacb77e3301a0481003a23b2d8dced7116de5 (patch) | |
tree | 5c27e77f33c5dc4414b22158d7249661d5fed478 /gdb/inferior.c | |
parent | 94de2a2c57b7f6b2870f72ecdcacc6d909c6421a (diff) | |
download | gdb-72ddacb77e3301a0481003a23b2d8dced7116de5.zip gdb-72ddacb77e3301a0481003a23b2d8dced7116de5.tar.gz gdb-72ddacb77e3301a0481003a23b2d8dced7116de5.tar.bz2 |
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.
Diffstat (limited to 'gdb/inferior.c')
0 files changed, 0 insertions, 0 deletions