This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]