Click here to Skip to main content
15,888,047 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I want to debug a automake c project. and I am doing it with Cygwin in windows.
I can compile it correctly, by doing
aclocal
automake --add-missing
autoreconf
./configure
make


for use gdb debugger, I want to generate debug , so I did like
...
./configure CFALGS=-g3    (or ./configure CFLAGS="-g -o0")
make


after that, when I load execitable by using
gdb ./slim.exe


it says:
no debug symbols found


how can I get debug symbols in executable in order to use gdb debugger for c project?
I am new at those , so please answer a bit specific.
Thanks in advance
Posted

1 solution

I found the problem,

gbd .lib/slim.exe

worked. The debug version is there.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900