gdb 6.5 doesn't see local variables

Daniel Jacobowitz drow@false.org
Fri May 18 19:36:00 GMT 2007


On Fri, May 18, 2007 at 12:28:33PM -0700, Patrik Jonsson wrote:
> Hi all,
> 
> I'm trying to debug a C++ program (compiled with gcc 4.1.1) with gdb
> 6.5-15.fc6rh (on a FC6 x86_64 machine), and I'm experiencing a most
> vexing problem.  I'm breaking the program in a constructor and want to
> look at the local variables, but gdb says there are no such symbols in
> the current context. The program is compiled with -g -O0.

Sounds to me like:
  http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27574

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gdb mailing list