Using and Porting the GNU Compiler Collection (GCC)
Here are macros for SDB and DWARF output.
SDB_DEBUGGING_INFO
-g' option.
DWARF_DEBUGGING_INFO
-g' option.
DWARF2_DEBUGGING_INFO
-g' option.
To support optional call frame debugging information, you must also
define INCOMING_RETURN_ADDR_RTX and either set
RTX_FRAME_RELATED_P on the prologue insns if you use RTL for the
prologue, or call dwarf2out_def_cfa and dwarf2out_reg_save
as appropriate from FUNCTION_PROLOGUE if you don't.
DWARF2_FRAME_INFO
DWARF2_UNWIND_INFO
(see Exception Region Output is nonzero, GNU CC will output this
information not matter how you define DWARF2_FRAME_INFO.
LINKER_DOES_NOT_WORK_WITH_DWARF2
-ggdb' GNU CC will use Dwarf
version 2 if available; this macro disables this. See the description
of the PREFERRED_DEBUGGING_TYPE macro for more details.
PUT_SDB_...
sdbout.c' for a list of these
macros and their arguments. If the standard syntax is used, you need
not define them yourself.
SDB_DELIM
\n'). It is not necessary to define
a new set of PUT_SDB_op macros if this is the only change
required.
SDB_GENERATE_FAKE
sdbout.c' for
more information.
SDB_ALLOW_UNKNOWN_REFERENCES
SDB_ALLOW_FORWARD_REFERENCES
Using and Porting the GNU Compiler Collection (GCC)
Packaging copyright © 1988-2000 OAR Corporation Context copyright by each document's author. See Free Software Foundation for information.