GNU Info

Info Node: (g77-300.info)Debugging Options

(g77-300.info)Debugging Options


Next: Optimize Options Prev: Warning Options Up: Invoking G77
Enter node , (file) or (file)node

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 was incomplete up till
     version 0.5.26 of `g77'.  In particular, names of variables and
     arrays in common blocks or that are storage-associated via
     `EQUIVALENCE' were 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.

     Because version 0.5.26 of `g77' enables full debug information of
     COMMON BLOCK and EQUIVALENCE items, this option has been disabled.

     Note: Options for Code Generation Conventions,
     for more information.

   Note: Options for Debugging Your Program or GNU CC,
 for more information on debugging options.


automatically generated by info2www version 1.2.2.9