This is the mail archive of the gcc-bugs@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]
Other format: [Raw text]

[Bug debug/33044] Local variables in C++ constructor not visible for debugging



------- Comment #2 from pinskia at gcc dot gnu dot org  2007-08-10 21:15 -------
4.1.0 produces:
        .uleb128 0xd    # (DIE (0x185) DW_TAG_variable)
        .ascii "foofoo\0"       # DW_AT_name
        .byte   0x1     # DW_AT_decl_file
        .byte   0x10    # DW_AT_decl_line
        .long   0x285   # DW_AT_type
        .byte   0x5     # DW_AT_location
        .byte   0x3     # DW_OP_addr
        .long   _ZZN1AC1EiiE6foofoo

So this was fixed in 4.1.0 and above as 4.0.0 does not produce the location.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.1.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33044


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