This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: defer dwarf2 debug_line construction to the assembler
- To: Richard Henderson <rth at cygnus dot com>
- Subject: Re: defer dwarf2 debug_line construction to the assembler
- From: Jim Wilson <wilson at cygnus dot com>
- Date: Thu, 26 Aug 1999 13:18:08 -0700
- cc: egcs-patches at egcs dot cygnus dot com, jason at cygnus dot com
Where is a default supplied? Is there perhaps a configure.in
patch that got forgotten?
I forgot to supply a default. I added this to my dwarf2out.c patch.
*************** extern char *language_string;
*** 2236,2241 ****
--- 2236,2246 ----
#define DWARF_ARANGES_HEADER_SIZE \
(DWARF_ROUND (2 * DWARF_OFFSET_SIZE + 4, PTR_SIZE * 2) - DWARF_OFFSET_SIZE)
+ /* The default is to have gcc emit the line number tables. */
+ #ifndef DWARF2_ASM_LINE_DEBUG_INFO
+ #define DWARF2_ASM_LINE_DEBUG_INFO 0
+ #endif
+
/* Define the architecture-dependent minimum instruction length (in bytes).
In this implementation of DWARF, this field is used for information
purposes only. Since GCC generates assembly language, we have
Jim