Debugging Options

-G

In default mode (without -nodbg), -G causes the compiler to generate debug information in a .dbg file that corresponds to the object file produced by the compilation. See Chapter 6, "Debug Formatting", for more information on .dbg files. When using MULTI as the Debugger, it is strongly recommended to use the default -G mode.

When using the -nodbg option, -G causes the compiler to generate extended debug information as DWARF 1.1 stabs. When using -nodbg it is recommended to use -g rather than -G.

-g

In default mode (without -nodbg) -g causes the compiler to generate debug information in a .dbg file that corresponds to the object file produced by the compilation. See Chapter 6, "Debug Formatting", for more information on .dbg files. When using MULTI as the Debugger, it is strongly recommended to use the default -g mode.

When using the -nodbg option, -g causes the compiler to generate DWARF 1.1 stabs.

-nodbg

Do not use Green Hills proprietary debug information; instead use DWARF style debugging information with ELF.

-dual_debug

Use both the Green Hills proprietary debug information and the alternate form.


Previous

Next



Copyright © 1999, Green Hills Software. All rights reserved.