diff options
author | Sanimir Agovic <sanimir.agovic@intel.com> | 2013-11-19 12:54:24 +0000 |
---|---|---|
committer | Sanimir Agovic <sanimir.agovic@intel.com> | 2014-04-11 13:43:53 +0100 |
commit | e1969afbd454c09c3aad1990305715f70bc47c3c (patch) | |
tree | ae65349b40e36fffe2862db5558eb2b8904492b0 /gdb/eval.c | |
parent | b86138fb0484f42db6cb83abed1e3d0ad2ec4eac (diff) | |
download | gdb-e1969afbd454c09c3aad1990305715f70bc47c3c.zip gdb-e1969afbd454c09c3aad1990305715f70bc47c3c.tar.gz gdb-e1969afbd454c09c3aad1990305715f70bc47c3c.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
* 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/eval.c')
0 files changed, 0 insertions, 0 deletions