Debugging with GDB Manual The GNU Source-Level Debugger (769148-001, March 2014)

character*len,
character*(*) [len is a
automatic
explicit-shape
user supplied length]
arrays
Array elements are displayed in column-major order. Use
() for array member access (for example, arr(i) instead of
arr[i]). Use set print elements to control the number
of elements printed out when specifying a whole array. The
default is 200 elements or the number of elements of the
array, whichever is smaller.
Fortran operators
The following Fortran operators are listed here in the order of increasing precedence:
= Assignment
*, -, *, / Binary operators
+, - Unary operators
** Exponentiation
.EQ., = Equal
.NE., /= Not equal, or concatenation
.LT., < Less than
.LE., <= Less than or equal to
.GT., > Greater than
.GE., >= Greater than or equal to
// Concatenation
.NOT. Logical negation
.AND. Logical AND
.OR. Logical OR
.EQV. Logical equivalence
.NEQV., .XOR. Logical non-equivalence
Logical constants are represented as .TRUE. or .FALSE.
GDB includes support for viewing Fortran common blocks.
info common Lists common blocks visible in the current frame.
info common
<common_block_name>
Lists values of variables in the named common block.
Fortran entry points are supported.
You can set a break point specifying an entry point name.
Fortran special issues
Fortran allows main™ to be a non-main™ procedure; therefore, to set a breakpoint in the main
program, use break _MAIN_ or break <program_name>.
Do not use break main unless it is the name of a non-main™ procedure.
80 Using GDB with Different Languages