diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2020-07-12 22:58:51 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2020-07-12 22:58:51 -0400 |
commit | 599088e3ffa13edcccc68b6d7a39e7488123004a (patch) | |
tree | f8e0b4d1c6fe7bf9694d319c9d22fc6e4d631f58 /gdb/compile/compile-c-symbols.c | |
parent | c4dfcb3638cbdb33589e3789df45d76178b333bf (diff) | |
download | gdb-599088e3ffa13edcccc68b6d7a39e7488123004a.zip gdb-599088e3ffa13edcccc68b6d7a39e7488123004a.tar.gz gdb-599088e3ffa13edcccc68b6d7a39e7488123004a.tar.bz2 |
gdb: remove TYPE_RANGE_DATA macro
Remove it in favor of using type::bounds directly.
gdb/ChangeLog:
* gdbtypes.h (TYPE_RANGE_DATA): Remove. Update callers to use
the type::bounds method directly.
Change-Id: Id4fab22af0a94cbf505f78b01b3ee5b3d682fba2
Diffstat (limited to 'gdb/compile/compile-c-symbols.c')
-rw-r--r-- | gdb/compile/compile-c-symbols.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/compile/compile-c-symbols.c b/gdb/compile/compile-c-symbols.c index 4ff757a..be2ca35 100644 --- a/gdb/compile/compile-c-symbols.c +++ b/gdb/compile/compile-c-symbols.c @@ -504,7 +504,7 @@ generate_vla_size (compile_instance *compiler, if (TYPE_HIGH_BOUND_KIND (type) == PROP_LOCEXPR || TYPE_HIGH_BOUND_KIND (type) == PROP_LOCLIST) { - const struct dynamic_prop *prop = &TYPE_RANGE_DATA (type)->high; + const struct dynamic_prop *prop = &type->bounds ()->high; std::string name = c_get_range_decl_name (prop); dwarf2_compile_property_to_c (stream, name.c_str (), |