patch was: dwarf2 debug dependent upon GAS?

Jason Merrill jason@cygnus.com
Sun Feb 28 18:15:00 GMT 1999


>>>>> Robert Lipe <robertlipe@usa.net> writes:

 > -      add_AT_section_offset (comp_unit_die, DW_AT_stmt_list, DEBUG_LINE_SECTION);
 > +      add_AT_lbl_id (comp_unit_die, DW_AT_stmt_list, debug_line_section_label);

This isn't quite right, as a lbl_id uses FORM_addr, while a section_offset
uses FORM_data (which is what we want for an offset).  I'd suggest changing
section_offset to label_offset instead.

Jason



More information about the Gcc-patches mailing list