diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2020-09-14 11:08:03 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@efficios.com> | 2020-09-14 11:08:03 -0400 |
commit | bd63c870088388fc55efbf50f2dfc0592fe874e5 (patch) | |
tree | fc002e3c53ff9e8ae8a194b83cc9c87c5292d448 /gdb/target-descriptions.c | |
parent | 2062087b358cc5320d52b32c50866dbd08fb2631 (diff) | |
download | gdb-bd63c870088388fc55efbf50f2dfc0592fe874e5.zip gdb-bd63c870088388fc55efbf50f2dfc0592fe874e5.tar.gz gdb-bd63c870088388fc55efbf50f2dfc0592fe874e5.tar.bz2 |
gdb: remove TYPE_VECTOR
gdb/ChangeLog:
* gdbtypes.h (TYPE_VECTOR): Remove, replace all
uses with type::is_vector.
Change-Id: I1ac28755af44b1585c190553f9961288c8fb9137
Diffstat (limited to 'gdb/target-descriptions.c')
-rw-r--r-- | gdb/target-descriptions.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/target-descriptions.c b/gdb/target-descriptions.c index 9d2d053..eadad86 100644 --- a/gdb/target-descriptions.c +++ b/gdb/target-descriptions.c @@ -263,7 +263,7 @@ make_gdb_type (struct gdbarch *gdbarch, struct tdesc_type *ttype) /* If any of the children of a union are vectors, flag the union as a vector also. This allows e.g. a union of two vector types to show up automatically in "info vector". */ - if (TYPE_VECTOR (field_gdb_type)) + if (field_gdb_type->is_vector ()) m_type->set_is_vector (true); } } |