from gdb.texinfo on 11 July 1994 -->
Debugging with GDB - Show
Go to the previous, next section.
The following commands help you find out which language is the
working language, and also what language source files were written in.
show language
- Display the current working language. This is the
language you can use with commands such as
print
to
build and compute expressions that may involve variables in your program.
info frame
- Among the other information listed here (see section Information about a frame) is the source language for this frame. This
language becomes the working language if you use an
identifier from this frame.
info source
- Among the other information listed here (see section Examining the Symbol Table) is the source language of this source file.
Go to the previous, next section.