Next: VMS Debug, Previous: File Names and DBX, Up: Debugging Info
Here are macros for SDB and DWARF output.
Define this macro if GCC should produce COFF-style debugging output for SDB in response to the -g option.
Define this macro if GCC should produce dwarf version 2 format debugging output in response to the -g option.
To support optional call frame debugging information, you must also define
INCOMING_RETURN_ADDR_RTXand either setRTX_FRAME_RELATED_Pon the prologue insns if you use RTL for the prologue, or calldwarf2out_def_cfaanddwarf2out_reg_saveas appropriate fromTARGET_ASM_FUNCTION_PROLOGUEif you don't.
Define this macro to a nonzero value if GCC should always output Dwarf 2 frame information. If
DWARF2_UNWIND_INFO(see Exception Region Output is nonzero, GCC will output this information not matter how you defineDWARF2_FRAME_INFO.
By default, the Dwarf 2 debugging information generator will generate a label to mark the beginning of the text section. If it is better simply to use the name of the text section itself, rather than an explicit label, to indicate the beginning of the text section, define this macro to zero.
Define this macro to be a nonzero value if the assembler can generate Dwarf 2 line debug info sections. This will result in much more compact line number tables, and hence is desirable if it works.
A C statement to issue assembly directives that create a difference between the two given labels, using an integer of the given size.
A C statement to issue assembly directives that create a section-relative reference to the given label, using an integer of the given size.
A C statement to issue assembly directives that create a self-relative reference to the given label, using an integer of the given size.
Define these macros to override the assembler syntax for the special SDB assembler directives. See sdbout.c for a list of these macros and their arguments. If the standard syntax is used, you need not define them yourself.
Some assemblers do not support a semicolon as a delimiter, even between SDB assembler directives. In that case, define this macro to be the delimiter to use (usually `\n'). It is not necessary to define a new set of
PUT_SDB_op macros if this is the only change required.
Define this macro to override the usual method of constructing a dummy name for anonymous structure and union types. See sdbout.c for more information.