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 xldb processing.
Notes
Use this option with the -g
option to produce additional debugging information for use with xldb.
When you specify the -g option, debugging information for xldb 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 xldb
processing, enter:
xlC myprogram.c -g -qdbxextra
List of Compiler Options and Their
Defaults
Options that Specify Debugging Features