Debugging with GDB Manual (5900-1473; WDB 6.2; January 2011)

Table Of Contents
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.
9.4.2.3 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.
9.4 Supported languages 107