[Bug debug/18112] -feliminate-dwarf2-dups produces debug entries in wrong scope
nikolay at etnus dot com
gcc-bugzilla@gcc.gnu.org
Fri Oct 22 17:40:00 GMT 2004
------- Additional Comments From nikolay at etnus dot com 2004-10-22 17:40 -------
Subject: Re: -feliminate-dwarf2-dups produces debug entries
in wrong scope
You need to use -feliminate-dwarf2-dups flag during compilation.
Nikolay
pinskia at gcc dot gnu dot org wrote:
>------- Additional Comments From pinskia at gcc dot gnu dot org 2004-10-22 17:31 -------
>This is what I get one the mainline:
> <1><c33f>: Abbrev Number: 120 (DW_TAG_subprogram)
> DW_AT_sibling : <c368>
> DW_AT_external : 1
> DW_AT_name : main
> DW_AT_decl_file : 2
> DW_AT_decl_line : 6
> DW_AT_type : <86>
> DW_AT_low_pc : 0x8048748
> DW_AT_high_pc : 0x80487cb
> DW_AT_frame_base : 1 byte block: 55 (DW_OP_reg5)
> <2><c35a>: Abbrev Number: 121 (DW_TAG_variable)
> DW_AT_name : s1
> DW_AT_decl_file : 2
> DW_AT_decl_line : 7
> DW_AT_type : <af69>
> DW_AT_location : 2 byte block: 91 74 (DW_OP_fbreg: -12)
>
>....
> <2><af69>: Abbrev Number: 5 (DW_TAG_typedef)
> DW_AT_name : string
> DW_AT_decl_file : 32
> DW_AT_decl_line : 60
> DW_AT_type : <60a3>
>
>And some huge number of debuggin data (namespaces and such).
>
>
>
>
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18112
More information about the Gcc-bugs
mailing list