Compiling to-be-attached snippet with -g does not seem to emit sufficient debug
info for vars defined inside ctor bodies; neither is gdb able to display info
for them, nor do their names appear in the debug info sections.
Versions I've tried this with: 4.2.3, 4.3.1 and 4.3.2. Using i686 instead also
did not make a difference.
--
Summary: variables in ctor don't have DW_AT_name in
DW_TAG_variable
Product: gcc
Version: 4.3.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: thb at openoffice dot org
GCC target triplet: x86_64-unknown-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39961