gdb does not find any source files in a very simple testcase.

Joel Brobecker brobecker@adacore.com
Fri Feb 10 21:45:00 GMT 2006


> Then i compile it using:
> 
> g++ main.cc (using gcc with a main.c does not work either)

Is this the complete command you used? You should add "-g" to tell
the compiler to include debugging information. Without that, the
debugger operations are limited.

-- 
Joel



More information about the Gdb mailing list