Please don't crosspost between gcc and gcc-help. Thanks. On Sat, Sep 20, 2008 at 02:48, Peng Yu <[EMAIL PROTECTED]> wrote: > On Mon, Sep 15, 2008 at 2:54 PM, Peng Yu <[EMAIL PROTECTED]> wrote: >> >> Hi, >> >> I have the following program. When I step in to test's constructor, I >> would be able to print the variable three. It says >> (gdb) n >> 7 T three = 3; >> (gdb) n >> 8 std::cout << three << std::endl; >> (gdb) p three >> No symbol "three" in current context. >> >> According to gdb mailing list, this is a bug in GCC. I'm wondering if >> this issue has been resolved in the later versions of GCC.
Isn't this a case of the stuff that the var-tracking-assignments-branch (http://gcc.gnu.org/wiki/Var_Tracking_Assignments) tries to fix?