Preparing for Debugging

Use the -g option to direct the compiler to generate code to support symbolic debugging. For example:

The compiler does not support the generation of debugging information in assembly files. If you specify the -g option, the resulting object file will contain debugging information the assembly file will not.