DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
C compilation system

Preparing your program for debugging

When you specify the -g option to cc:

   $ cc -g test.c
you arrange for the compiler to generate information about program variables and statements that will be used by the debugger dbxtra(CP), or its Motif/X11 interface-oriented version, dbXtra(CP). The information supplied to dbxtra will allow you to use it to trace function calls, display the values of variables, and set breakpoints. See ``dbXtra and dbxtra'' for further information.

Next topic: Preparing your program for profiling
Previous topic: Searching for a header file

© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003