diff options
author | Walfred Tedeschi <walfred.tedeschi@intel.com> | 2016-06-21 15:15:04 +0200 |
---|---|---|
committer | Walfred Tedeschi <walfred.tedeschi@intel.com> | 2016-06-21 15:15:04 +0200 |
commit | 04d59df6f311bcc20d74ada64a5e15a4bbb40026 (patch) | |
tree | 0fd8b906cf2cd75b1a9a91842c0397ac9b05dc82 /ld/emulparams | |
parent | bdd582dbf14f12998a0003b5aa772d7868bc3dc7 (diff) | |
download | gdb-04d59df6f311bcc20d74ada64a5e15a4bbb40026.zip gdb-04d59df6f311bcc20d74ada64a5e15a4bbb40026.tar.gz gdb-04d59df6f311bcc20d74ada64a5e15a4bbb40026.tar.bz2 |
Improve user experience in printing Fortran derived types.
Output for Fortran derived classes is like:
"( 9, 'abc')"
with this changes the output is changed to:
"( lucky_number = 9, letters = 'abc')"
2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
* f-valprint.c (f_val_print): Add field names for printing
derived types fields.
gdb/testsuite:
* gdb.fortran/derived-type.exp (print q): Add fields to the output.
* gdb.fortran/vla-type.exp (print twov): Fix vla tests with
structs.
* gdb.fortran/derived-type-function.exp: New file.
* gdb.fortran/derived-type-function.f90: New file.
Diffstat (limited to 'ld/emulparams')
0 files changed, 0 insertions, 0 deletions