-qdbxextra

C only

Description

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

Syntax

Read syntax diagramSkip visual syntax diagram        .-nodbxextra-.
>>- -q--+-dbxextra---+-----------------------------------------><

Notes

Use this option with the -g option to produce additional debugging information for use with a debugger.

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

Related information