Class-fy target_desc
authorYao Qi <yao.qi@linaro.org>
Wed, 26 Jul 2017 09:37:17 +0000 (10:37 +0100)
committerYao Qi <yao.qi@linaro.org>
Wed, 26 Jul 2017 09:37:17 +0000 (10:37 +0100)
commitb468ff4cbf14744d512e464b4be9681d3e0302ad
treeb7d8137ab4cfbd0051dd088a935952d8530a2cc6
parent229d26fc9ebca61b8d899cf8fe4342a6cc9795ff
Class-fy target_desc

This patch adds ctor and dtor in target_desc.

gdb:

2017-07-26  Yao Qi  <yao.qi@linaro.org>

* target-descriptions.c (target_desc): Add ctor and dtor.  Do
in-class initialization.
(tdesc_create_feature): Call new instead of XCNEW.
(free_target_description): Ue delete.
gdb/ChangeLog
gdb/target-descriptions.c
This page took 0.027702 seconds and 4 git commands to generate.