@PROCESS
@PROCESS DBGFMT({dwarf | dwarf4})
Purpose
Specifies the format for the
debugging information in object files.
DWARF
is a standard that defines the format of debugging information in
programs. It is used on a wide variety of operating systems and is
extensible and compact.
Syntax
.-dwarf--.
>>- -q--dbgfmt--=--+-dwarf4-+----------------------------------><
Parameters
- dwarf
- Generates debugging information in DWARF 3 format.
- dwarf4
- Generates debugging information in DWARF 4 format.
Note: To debug programs built with -qdbgfmt=dwarf or -qdbgfmt=dwarf4, a DWARF-enabled debugger such as dbx is
required.
Usage
-qdbgfmt does not imply any
of the debugging options, such as
-g. For example:
- To generate debugging information in DWARF 3 format,
use -g -qdbgfmt=dwarf.
- To generate debugging information in DWARF 4 format,
use -g -qdbgfmt=dwarf4.
-qdbgfmt also applies to -qlinedebug,
which generates a subset of -g information.