Debugging with GDB (September 2007)

90 Debugging with GDB
9.4.2 Fortran
You can use WDB to debug programs written in Fortran. WDB does not distinguish
between Fortran 77 and Fortran 90 files.
WDB provides the following command to control case sensitivity:
case-sensitive [on | off]
The default for Fortran is off, while for other languages the default is on.
Other supported features are:
Fortran 90 pointers
Structures and unions
Calling functions with integer, logical, real, complex arguments
Intrinsic support
9.4.2.1 Fortran types
Fortran types supported:
integer*1, integer*2, integer*4, integer*8
logical*1, logical*2, logical*4, logical*8
byte
real*4, real*8, real*16
complex*8, complex*16
character*len, character*(*) [len is a user supplied length]
arrays
allocatable
assumed-size
assumed-shape
adjustable
automatic
explicit-shape
Array elements are displayed in column-major order. Use () for array member
access (e.g, arr(i) instead of arr[i]). Use set print elements to control the
numb e r of elements printed out when specifying a whole array. The default is
200 elements or the numb er of eleme nts of the array, which ever is smaller.
9.4.2.2 Fortran operators
The following Fortran operators are listed here in the order of increasing precedence:
= Assignment
*, -, *, /
Binary operators