xref: /netbsd-src/distrib/syspkg/sets/comp/comp-debug-bin/DESCR (revision 1ca5c1b28139779176bd5c13ad7c5f25c0bcd5f8)
1*1ca5c1b2SjwiseThis package contains various C programming debugging utilities, such as:
2*1ca5c1b2Sjwise
3*1ca5c1b2Sjwise	addr2line - translates program addresses into file names and line
4*1ca5c1b2Sjwise	numbers. Given an address and an executable, it uses the debugging
5*1ca5c1b2Sjwise	information in the executable to figure out which file name and
6*1ca5c1b2Sjwise	line number are associated with a given address;
7*1ca5c1b2Sjwise
8*1ca5c1b2Sjwise	gcov - displays basic block profile / coverage data, if requested
9*1ca5c1b2Sjwise	via the C compiler gcc(1) command line options -fprofile-arcs and
10*1ca5c1b2Sjwise	-ftest-coverage. These options cause the compiler to insert
11*1ca5c1b2Sjwise	instrumentation into the object files it generates, which measure
12*1ca5c1b2Sjwise	how often each basic block is executed;
13*1ca5c1b2Sjwise
14*1ca5c1b2Sjwise	gdb - is the GNU debugger. The purpose of a debugger such as GDB
15*1ca5c1b2Sjwise	is to allow you to see what is going on ``inside'' another program
16*1ca5c1b2Sjwise	while it executes, or what another program was doing at the moment
17*1ca5c1b2Sjwise	it crashed;
18*1ca5c1b2Sjwise
19*1ca5c1b2Sjwise	gprof - displays call graph profile data. gprof produces an
20*1ca5c1b2Sjwise	execution profile of C, Pascal, or Fortran77 programs.
21