[RFC]: Patch to type and value print Fortran derived type - Fix for gfortran PR24527

Thomas Koenig Thomas.Koenig@online.de
Sat Oct 29 02:40:00 GMT 2005


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.



More information about the Gdb-patches mailing list