diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2017-12-05 16:30:24 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@ericsson.com> | 2017-12-05 16:30:24 -0500 |
commit | f65ff9f9a4add415e5ae332a094b2134c1625517 (patch) | |
tree | 79a62aa6683804272c88cec43b87cef4e4f439b6 /gdb/xml-tdesc.c | |
parent | 3eea796c5daeb7b60531fc3d707470fa91a86e11 (diff) | |
download | binutils-f65ff9f9a4add415e5ae332a094b2134c1625517.zip binutils-f65ff9f9a4add415e5ae332a094b2134c1625517.tar.gz binutils-f65ff9f9a4add415e5ae332a094b2134c1625517.tar.bz2 |
Make tdesc_feature::name an std::string
... so we don't have to manually free it in ~tdesc_feature.
gdb/ChangeLog:
* target-descriptions.c (tdesc_feature) <name>: Change type to
std::string.
<~tdesc_feature>: Don't manually free name.
<operator==>: Adjust.
(tdesc_find_feature): Adjust.
(tdesc_feature_name): Adjust.
(class print_c_tdesc) <visit_pre>: Adjust.
(class print_c_feature) <visit_pre>: Adjust.
Diffstat (limited to 'gdb/xml-tdesc.c')
0 files changed, 0 insertions, 0 deletions