diff options
author | Alan Hayward <alan.hayward@arm.com> | 2018-02-05 16:33:04 +0000 |
---|---|---|
committer | Alan Hayward <alan.hayward@arm.com> | 2018-02-05 16:34:13 +0000 |
commit | b8df6ca79e69678a07d3216b9b2b552fce27cda8 (patch) | |
tree | fdaf944f94b02bfb582c541e879664c2ba891f4c /gold/NEWS | |
parent | 89424b1d6965bcda21a225d0f545f43d9294ff21 (diff) | |
download | gdb-b8df6ca79e69678a07d3216b9b2b552fce27cda8.zip gdb-b8df6ca79e69678a07d3216b9b2b552fce27cda8.tar.gz gdb-b8df6ca79e69678a07d3216b9b2b552fce27cda8.tar.bz2 |
Use visitors for make_gdb_type
Remove the make_gdb_type functions from the tdesc_type_ classes.
Replace with a static make_gdb_type function that uses a element
visitor called gdb_type_creator.
gdb/
* target-descriptions.c (tdesc_element_visitor) Add empty implementations.
(tdesc_type): Move make_gdb_type from here.
(tdesc_type_builtin): Likewise.
(tdesc_type_vector): Likewise.
(tdesc_type_with_fields): Move make_gdb_type_ functions from here.
(make_gdb_type_struct): Move from tdesc_type_with_fields.
(make_gdb_type_union): Likewise.
(make_gdb_type_flags): Likewise.
(make_gdb_type_enum): Likewise.
(make_gdb_type): New function.
(tdesc_register_type): Use static make_gdb_type.
Diffstat (limited to 'gold/NEWS')
0 files changed, 0 insertions, 0 deletions