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:13:05 -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 #1 from pinskia at gcc dot gnu dot org 2007-08-10 21:13 -------
The mainline produces:
.ascii "foofoo\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (t.cc)
.byte 0x10 # DW_AT_decl_line
.long 0x282 # DW_AT_type
.byte 0x5 # DW_AT_location
.byte 0x3 # DW_OP_addr
.long __ZZN1AC1EiiE6foofoo
Which is correct.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33044