Go forward to Modula-2.
Go up to Support.

C and C++
---------

   Since C and C++ are so closely related, many features of GDB apply
to both languages.  Whenever this is the case, we discuss those
languages together.

   The C++ debugging facilities are jointly implemented by the GNU C++
compiler and GDB.  Therefore, to debug your C++ code effectively, you
must compile your C++ programs with the GNU C++ compiler, `g++'.

   For best results when debugging C++ programs, use the stabs debugging
format.  You can select that format explicitly with the `g++'
command-line options `-gstabs' or `-gstabs+'.  See *Note Options for
Debugging Your Program or GNU CC: (gcc.info)Debugging Options, for more
information.

Menu

C Operators
C and C++ operators
C Constants
C and C++ constants
Cplus expressions
C++ expressions
C Defaults
Default settings for C and C++
C Checks
C and C++ type and range checks
Debugging C
GDB and C
Debugging C plus plus
Special features for C++