Next: Pascal, Previous: OpenCL C, Up: Supported Languages

#### 15.4.6 Fortran

gdb can be used to debug programs written in Fortran. Note, that not all Fortran language features are available yet.

Some Fortran compilers (gnu Fortran 77 and Fortran 95 compilers among them) append an underscore to the names of variables and functions. When you debug programs compiled by those compilers, you will need to refer to variables and functions with a trailing underscore.

Fortran symbols are usually case-insensitive, so gdb by default uses case-insensitive matching for Fortran symbols. You can change that with the ``set case-insensitive`' command, see Symbols, for the details.