This page was produced by an automated import process, and may have formatting errors; feel free to fix.
Language Support
GDB’s language support is mainly driven by the symbol reader, although it is possible for the user to set the source language manually.
GDB chooses the source language by looking at the extension of the file recorded in the debug info; .c means C, .f means Fortran, etc. It may also use a special-purpose language identifier if the debug format supports it, like with DWARF.