dbxextra

Option Type Default Value #pragma options C C++
-qoption nodbxextra - x  

Syntax

    -qdbxextra | -qnodbxextra 

Purpose
Specifies that all typedef declarations, struct, union, and enum type definitions are included for debugging.

Notes
Use this option with the -g option to produce additional debugging information for use with the IBM Distriuted Debugger or xldb.

When you specify the -g option, debugging information is included in the object file. To minimize the size of object and executable files, the compiler only includes information for symbols that are referenced. Debugging information is not produced for unreferenced arrays, pointers, or file-scope variables unless -qdbxextra is specified.

Using -qdbxextra may make your object and executable files larger.

Example
To include all symbols in myprogram.c for debugging, enter:

xlC myprogram.c -g -qdbxextra


List of Batch Compiler Options and Their Defaults
Options that Specify Debugging Features
Equivalent Batch Compile-Link and Incremental Build Options