aboutsummaryrefslogtreecommitdiff
path: root/gdb/arch/arm-linux.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2017-12-05 16:30:25 -0500
committerSimon Marchi <simon.marchi@ericsson.com>2017-12-05 16:30:25 -0500
commit53c934e9fed9a35542661690e4e71febcbebb539 (patch)
tree62e0cdfb7ab0a8ddc57e4905e7aae92d5bd7048a /gdb/arch/arm-linux.c
parenta8142ee195063e8c7202429e80ee58185c34b3fc (diff)
downloadbinutils-53c934e9fed9a35542661690e4e71febcbebb539.zip
binutils-53c934e9fed9a35542661690e4e71febcbebb539.tar.gz
binutils-53c934e9fed9a35542661690e4e71febcbebb539.tar.bz2
Make tdesc_feature::types an std::vector
This patch makes tdesc_feature::types an std::vector of unique_ptr of tdesc_type. This way, we don't need to manually free the objects and the vector in ~tdesc_feature. gdb/ChangeLog: * target-descriptions.c (tdesc_type_p): Remove typedef. (DEF_VEC_P (tdesc_type_p)): Remove. (struct tdesc_feature) <types>: Change type to std::vector. <~tdesc_feature>: Replace with default implementation. <accept>: Adjust. (tdesc_named_type): Adjust. (tdesc_create_vector): Adjust. (tdesc_create_struct): Adjust. (tdesc_create_union): Adjust. (tdesc_create_flags): Adjust. (tdesc_create_enum): Adjust.
Diffstat (limited to 'gdb/arch/arm-linux.c')
0 files changed, 0 insertions, 0 deletions