diff options
author | Bernhard Heckel <bernhard.heckel@intel.com> | 2016-07-12 08:19:34 +0200 |
---|---|---|
committer | Bernhard Heckel <bernhard.heckel@intel.com> | 2016-09-07 12:18:45 +0200 |
commit | 7ad76f8c1694d7ab5e71d4890e2823589e242fc7 (patch) | |
tree | 3065dfd2393debc099a7de84d8795cfe96800384 /gdb/jv-valprint.c | |
parent | d2fd5fea2c06052c53d99bfa25fdaed9cf5dd217 (diff) | |
download | binutils-7ad76f8c1694d7ab5e71d4890e2823589e242fc7.zip binutils-7ad76f8c1694d7ab5e71d4890e2823589e242fc7.tar.gz binutils-7ad76f8c1694d7ab5e71d4890e2823589e242fc7.tar.bz2 |
Fortran: Typeprint, fix dangling types.
Show the type of not-allocated and/or not-associated types
as this is known. For array types and pointer to array types
we are going to print the number of ranks.
2016-06-30 Bernhard Heckel <bernhard.heckel@intel.com>
gdb/ChangeLog:
* f-typeprint.c (f_print_type): Don't bypass dangling types.
(f_type_print_varspec_suffix): Add print_rank parameter.
(f_type_print_varspec_suffix): Print ranks of array types
in case they dangling.
(f_type_print_base): Add print_rank parameter.
gdb/Testsuite/ChangeLog:
* gdb.fortran/pointers.f90: New.
* gdb.fortran/print_type.exp: New.
* gdb.fortran/vla-ptype.exp: Adapt expected results.
* gdb.fortran/vla-type.exp: Likewise.
* gdb.fortran/vla-value.exp: Likewise.
* gdb.mi/mi-vla-fortran.exp: Likewise.
Change-Id: Ib55f28b4092cf88e34918449a2ebb6e5daafe512
Diffstat (limited to 'gdb/jv-valprint.c')
0 files changed, 0 insertions, 0 deletions