diff options
author | Sanimir Agovic <sanimir.agovic@intel.com> | 2013-11-19 12:54:24 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@adacore.com> | 2014-04-14 09:17:54 -0700 |
commit | c451ebe5dd0c38617c74e0b6f0d5ef3188c25d56 (patch) | |
tree | f650f23b1ab950b2721708e970e05cd2a478986a /gdb/ada-lang.c | |
parent | 1d42e4c4d85cb12ce07a5349b1b2e11dce2d077d (diff) | |
download | gdb-c451ebe5dd0c38617c74e0b6f0d5ef3188c25d56.zip gdb-c451ebe5dd0c38617c74e0b6f0d5ef3188c25d56.tar.gz gdb-c451ebe5dd0c38617c74e0b6f0d5ef3188c25d56.tar.bz2 |
vla: support for DW_AT_count
This patch adds support for DW_AT_count as requested in the code review:
https://sourceware.org/ml/gdb-patches/2013-11/msg00200.html
gdb/ChangeLog:
* dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
property and store it as the high bound and flag the range accordingly.
* gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
* gdbtypes.h (enum range_flags): New enum.
(struct range_bounds): Add flags member.
Diffstat (limited to 'gdb/ada-lang.c')
0 files changed, 0 insertions, 0 deletions