------- Comment #7 from drow at gcc dot gnu dot org 2009-06-30 17:52 ------- Subject: Re: DWARF for inlined subroutines refers to the outlined copy
On Tue, Jun 30, 2009 at 04:29:25PM -0000, jakub at gcc dot gnu dot org wrote: > > > ------- Comment #6 from jakub at gcc dot gnu dot org 2009-06-30 16:29 ------- > Created an attachment (id=18101) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18101&action=view) > --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18101&action=view) > gcc45-pr40573.patch > > Does this patch do what you wanted to see? No changes in the (patched to handle earlier GCC) GDB testsuite - good. No visible changes in the testcase DWARF either - bad. <2><1a6>: Abbrev Number: 3 (DW_TAG_formal_parameter) <1a7> DW_AT_name : (indirect string, offset: 0xcc): arg1 <1ab> DW_AT_decl_file : 1 <1ac> DW_AT_decl_line : 22 <1ad> DW_AT_type : <0x1bd> <2><1f4>: Abbrev Number: 10 (DW_TAG_formal_parameter) <1f5> DW_AT_abstract_origin: <0x1a6> <1f9> DW_AT_location : 1 byte block: 53 (DW_OP_reg3) <4><2f7>: Abbrev Number: 13 (DW_TAG_formal_parameter) <2f8> DW_AT_abstract_origin: <0x1f4> should be <0x1a6>. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40573