aboutsummaryrefslogtreecommitdiff
path: root/gdb/m32r-linux-tdep.c
diff options
context:
space:
mode:
authorBernhard Heckel <bernhard.heckel@intel.com>2016-05-25 08:47:17 +0200
committerBernhard Heckel <bernhard.heckel@intel.com>2016-05-25 08:47:17 +0200
commit9b2db1fd27cea1323a7ae0beb9399c8e1c4a3741 (patch)
tree2017d76cdbef6b02c0f71e4ff3f6a14ea4f74825 /gdb/m32r-linux-tdep.c
parent72b1705502a891e07d40ad215146c71193920801 (diff)
downloadgdb-9b2db1fd27cea1323a7ae0beb9399c8e1c4a3741.zip
gdb-9b2db1fd27cea1323a7ae0beb9399c8e1c4a3741.tar.gz
gdb-9b2db1fd27cea1323a7ae0beb9399c8e1c4a3741.tar.bz2
Fortran, typeprint: Take level of details into account when printing elements of a structure.
According to the typeprint's description, elements of a structure should not be printed when show is < 1. This variable is also used to distinguish the level of details between "ptype" and "whatis" expressions. Before: (gdb) whatis t1v type = Type t1 integer(kind=4) :: t1_i real(kind=4) :: t1_r End Type t1 After: (gdb) whatis t1v type = Type t1 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com> gdb/Changelog: * f-typeprint.c (f_type_print_base): Don't print fields when show < 0. gdb/testsuite/Changelog: * gdb.fortran/whatis_type.exp: Adapt expected output.
Diffstat (limited to 'gdb/m32r-linux-tdep.c')
0 files changed, 0 insertions, 0 deletions