This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC]: Patch to type and value print Fortran derived type - Fix for gfortran PR24527
- From: Thomas Koenig <Thomas dot Koenig at online dot de>
- To: Wu Zhou <woodzltc at CN dot IBM dot COM>
- Cc: gdb-patches at sources dot redhat dot com, fortran at gcc dot gnu dot org
- Date: Sat, 29 Oct 2005 01:03:08 +0200
- Subject: Re: [RFC]: Patch to type and value print Fortran derived type - Fix for gfortran PR24527
- References: <Pine.LNX.4.63.0510271431200.23573@linux.site>
I can't easily test your patch because I don't compile gdb from
sources.
One test case that might be worth testing is
program main
type foo
real :: a
end type foo
type bar
type(foo) :: x
real :: y
end type bar
type(bar) :: z
z%x%a = 1.0
z%y = 1.2
print *,z
end program main
where a type contains another type.