This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: defer dwarf2 debug_line construction to the assembler


	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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]