This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/33044] Local variables in C++ constructor not visible for debugging
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Aug 2007 21:15:03 -0000
- Subject: [Bug debug/33044] Local variables in C++ constructor not visible for debugging
- References: <bug-33044-14963@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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