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/ChangeLog | |
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/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 4e091d7..c1998bb 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,19 @@ +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. + 2017-06-19 John Baldwin <jhb@FreeBSD.org> * mips-tdep.c (print_gp_register_row): Don't error for unavailable |