Re: no symbol in current context problem when debug the program in gdb

2008-09-21 Thread Daniel Jacobowitz
On Sat, Sep 20, 2008 at 03:55:00PM +0200, Kai Henningsen wrote: 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? No, it was specific to cloned functions. Some cgraph bug, I don't remember the PR. --

Re: no symbol in current context problem when debug the program in gdb

2008-09-20 Thread Kai Henningsen
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

Re: no symbol in current context problem when debug the program in gdb

2008-09-19 Thread Peng Yu
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