diff options
author | Bernhard Heckel <bernhard.heckel@intel.com> | 2016-04-26 16:38:19 +0200 |
---|---|---|
committer | Bernhard Heckel <bernhard.heckel@intel.com> | 2016-04-26 16:38:19 +0200 |
commit | 8f07e298b16e6419a11f9e9d75b15658e42ea775 (patch) | |
tree | 0fe5a42edc4159d987214b1423591c1f9e1b054b /.cvsignore | |
parent | 9920b4348edbdd83e3f91c85d7174cb92bba204d (diff) | |
download | gdb-8f07e298b16e6419a11f9e9d75b15658e42ea775.zip gdb-8f07e298b16e6419a11f9e9d75b15658e42ea775.tar.gz gdb-8f07e298b16e6419a11f9e9d75b15658e42ea775.tar.bz2 |
fort_dyn_array: Support evaluation of dynamic elements inside arrays.
Resolve type of an array's element to be printed in case it is dynamic.
Otherwise we don't use the correct boundaries nor the right location.
Before:
ptype fivearr(1)
type = Type five
Type one
integer(kind=4) :: ivla(34196784:34196832,34197072:34197120,34197360:34197408)
End Type one :: tone
End Type five
After:
ptype fivearr(1)
type = Type five
Type one
integer(kind=4) :: ivla(2,4,6)
End Type one :: tone
End Type five
2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
gdb/Changelog:
* valarith.c (value_address): Resolve dynamic types.
gdb/testsuite/Changelog:
* gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
of dynamic types.
* gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
of dynamic types.
Diffstat (limited to '.cvsignore')
0 files changed, 0 insertions, 0 deletions