Bug#509173: gdb: "no locals" in C++ constructors

2008-12-19 Thread Daniel Jacobowitz
reassign 509173 gcc-4.3 thanks On Fri, Dec 19, 2008 at 09:14:02AM +0200, Eugene V. Lyubimkin wrote: > Package: gdb > Version: 6.8-3, 6.8.50.20081210.python-1 > Severity: normal > > It is very hard to debug something in C++ constructors because GDB > failes to see any local variables in it. Consid

Bug#509173: gdb: "no locals" in C++ constructors

2008-12-18 Thread Eugene V. Lyubimkin
Package: gdb Version: 6.8-3, 6.8.50.20081210.python-1 Severity: normal It is very hard to debug something in C++ constructors because GDB failes to see any local variables in it. Consider this tiny example: <<< main.cpp >>> -8<- #include #include using std::string; class A { string str;