diff options
author | Alan Hayward <alan.hayward@arm.com> | 2018-04-18 11:39:53 +0100 |
---|---|---|
committer | Alan Hayward <alan.hayward@arm.com> | 2018-04-18 14:00:34 +0100 |
commit | 82ec9bc7055ca76f1f7dd344f3f58bf6aecec7c8 (patch) | |
tree | e9dfea1cdae7262eb147050fe6480d8c39f27c7e /gdb/target-descriptions.h | |
parent | ea3e7d717982e3c467edc7886b1d6cc2807195af (diff) | |
download | gdb-82ec9bc7055ca76f1f7dd344f3f58bf6aecec7c8.zip gdb-82ec9bc7055ca76f1f7dd344f3f58bf6aecec7c8.tar.gz gdb-82ec9bc7055ca76f1f7dd344f3f58bf6aecec7c8.tar.bz2 |
Commonise tdesc_feature and makes use of it in gdbserver tdesc
gdb/
* common/tdesc.c (tdesc_feature::accept): Move to here.
(tdesc_feature::operator==): Likewise.
(tdesc_create_reg): Likewise.
* common/tdesc.h (tdesc_type_kind): Likewise.
(struct tdesc_type): Likewise.
(struct tdesc_feature): Likewise.
* regformats/regdat.sh: Create a feature.
* target-descriptions.c (tdesc_type_kind): Move from here.
(tdesc_type): Likewise.
(tdesc_type_up): Likewise.
(tdesc_feature): Likewise.
(tdesc_create_reg): Likewise.
gdbserver/
* tdesc.c (~target_desc): Remove implictly deleted items.
(init_target_desc): Iterate all features.
(tdesc_get_features_xml): Use vector.
(tdesc_create_feature): Create feature.
* tdesc.h (tdesc_feature) Remove
(target_desc): Add features.
Diffstat (limited to 'gdb/target-descriptions.h')
0 files changed, 0 insertions, 0 deletions