If a source file name ends in one of the following extensions, then GDB infers that its language is the one indicated.
`.c' C source file
C++ source file
`.m' Objective-C source file
`.f' `.F' Fortran source file
`.mod' Modula-2 source file
`.s' `.S' Assembler source file. This actually behaves almost like C, but GDB does not skip over function prologues when stepping.
In addition, you may set the language associated with a filename extension. *Note Displaying the language: Show.Created Mon Nov 8 17:42:38 2004 on tillpc with info_to_html version 0.9.6.