gdb: Add new commands to list module variables and functions
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.fortran / info-types-2.f90
index a4044184233ce346b7ab15d6c7eee759dbdcd594..3fe2259da495e76db5bd955b40d3e36b6fece8dd 100644 (file)
 ! mod2 is defined.
 module mod2
   integer :: mod2_var_1 = 123
+  real, parameter :: mod2_var_2 = 0.5
+contains
+  subroutine sub_m2_a(a, b)
+    integer :: a
+    logical :: b
+    print*, "sub_m2_a = ", abc
+    print*, "a = ", a
+    print*, "b = ", b
+  end subroutine sub_m2_a
+
+  logical function sub_m2_b(x)
+    real :: x
+    print*, "sub_m2_b = ", cde
+    print*, "x = ", x
+    sub_m2_b = .true.
+  end function sub_m2_b
 end module mod2
This page took 0.0286 seconds and 4 git commands to generate.