How to Use DWARF

Users can ask the compilers to generate both .dbo files and DWARF debug information. This is recommended for users who have utilities which read the debug information in the object files as well as for users who use both the MULTI Debugger along with other source debuggers. To generate both .dbo files and DWARF debug information in an ELF environment, select Output dual debug formats in the Advanced Options window, or enter -dual_debug when using the command line driver.

By default, only the .dbo file is generated. However, if -dual_debug is specified, both DWARF and .dbo files are generated. This mode is provided for compatibility with third party tools that read DWARF debug information. Even if -dwarf is specified, only the .dbo files are actually used by MULTI to debug the program. Use of the -dwarf option will not improve debugging in any way and will slow down assembly and link-time by increasing the size of assembly and object files significantly. See Debugging Options in the Compiler Driver Options chapter, for more information.


Previous

Next



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