gdb/fortran: print fortran extended types with ptype
authorBernhard Heckel <bernhard.heckel@intel.com>
Tue, 5 Apr 2022 15:44:46 +0000 (17:44 +0200)
committerNils-Christian Kempke <nils-christian.kempke@intel.com>
Fri, 8 Apr 2022 10:17:13 +0000 (12:17 +0200)
commit110aae55a8b7e19fa5f04998851968e48822605f
treea8b16eddd2715eb752f6fee43e29636a253ec374
parent87e10e9c288c2f6c933f235b623522c8d9a2d727
gdb/fortran: print fortran extended types with ptype

Add the print of the base-class of an extended type to the output of
ptype.  This requires the Fortran compiler to emit DW_AT_inheritance
for the extended type.

Co-authored-by: Nils-Christian Kempke <nils-christian.kempke@intel.com>
gdb/f-lang.h
gdb/f-typeprint.c
gdb/testsuite/gdb.fortran/oop_extend_type.exp