This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Class-fy target_desc
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Wed, 26 Jul 2017 06:06:56 -0400
- Subject: [binutils-gdb] Class-fy target_desc
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT b468ff4cbf14744d512e464b4be9681d3e0302ad ***
Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: b468ff4cbf14744d512e464b4be9681d3e0302ad
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.