Go to the first, previous, next, last section, table of contents.


Options for Debugging Your Program or GNU Fortran

GNU Fortran has various special options that are used for debugging either your program or g77.

-g
Produce debugging information in the operating system's native format (stabs, COFF, XCOFF, or DWARF). GDB can work with this debugging information. Support for this option in Fortran programs is incomplete. In particular, names of variables and arrays in common blocks or that are storage-associated via EQUIVALENCE are unavailable to the debugger. However, version 0.5.19 of g77 does provide this information in a rudimentary way, as controlled by the `-fdebug-kludge' option. See section Options for Code Generation Conventions, for more information.

See section `Options for Debugging Your Program or GNU CC' in Using and Porting GNU CC, for more information on debugging options.


Go to the first, previous, next, last section, table of contents.