3.4.7 G: Produce Debugging Information Option
The -gformat
option instructs the assembler to produce additional information, which can be used by
hardware tools to debug your program.
The support formats are tabulated below.
Format | Debugging file format |
---|---|
-gcoff |
COFF |
-gdwarf-3 |
ELF/DWARF release 3. |
-ginhx32 |
Intel HEX with extended linear address records, allowing use of addresses beyond 64 KB. |
-ginhx032 |
INHX32 with initialization of upper address to zero. |
By default, the assembler produces DWARF release 3 files.