GNU Compiler Collection - Debugging GCC Programs

Debugging GCC Programs

The primary tool used to debug GCC code is the GNU Debugger (gdb). Among more specialized tools are Valgrind, for finding memory errors and leaks, and the graph profiler (gprof) that can determine how much time is spent in which routines, and how often they are called; this requires programs to be compiled with profiling options.

Read more about this topic:  GNU Compiler Collection

Famous quotes containing the word programs:

    Will TV kill the theater? If the programs I have seen, save for “Kukla, Fran and Ollie,” the ball games and the fights, are any criterion, the theater need not wake up in a cold sweat.
    Tallulah Bankhead (1903–1968)