diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2017-12-05 16:30:22 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@ericsson.com> | 2017-12-05 16:30:22 -0500 |
commit | 129c10bcb9b3bc2ed9682040aa9a0d144bb5e959 (patch) | |
tree | ba3e1f92095b1561639aac91c44cc3a83df554be /gdb/xml-tdesc.c | |
parent | ed9376bd95c52ba00aa37b224b4407030a00d184 (diff) | |
download | binutils-129c10bcb9b3bc2ed9682040aa9a0d144bb5e959.zip binutils-129c10bcb9b3bc2ed9682040aa9a0d144bb5e959.tar.gz binutils-129c10bcb9b3bc2ed9682040aa9a0d144bb5e959.tar.bz2 |
Make target_desc::properties an std::vector
This patch changes target_desc::properties to be a vector of property
objects. This way, we don't need to manually free the property members
as well as the property objects themselves.
gdb/ChangeLog:
* target-descriptions.c (property_s): Remove typedef.
(DEF_VEC_O (property_s)): Remove.
(struct target_desc) <properties>: Make an std::vector.
<~target_desc>: Don't manually free properties.
(tdesc_property): Adjust.
(set_tdesc_property): Adjust.
(class print_c_tdesc) <visit_pre>: Adjust.
Diffstat (limited to 'gdb/xml-tdesc.c')
0 files changed, 0 insertions, 0 deletions