本文介绍了如何在automake c项目中获取调试符号的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想调试一个automake c项目。我在Windows中使用Cygwin进行操作。 我可以正确编译它,通过执行
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使用gdb调试器,我想生成调试,所以我确实喜欢
for use gdb debugger, I want to generate debug , so I did like
... ./configure CFALGS=-g3 (or ./configure CFLAGS="-g -o0") make之后,当我加载execitable时使用
after that, when I load execitable by using
gdb ./slim.exe它说:
it says:
no debug symbols found如何在可执行文件中获取调试符号以便为c项目使用gdb调试器? 我是那些新的,所以请回答一下具体的问题。 提前谢谢
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
推荐答案我发现了问题, gbd .lib / slim.exe 工作。调试版本在那里。 I found the problem, gbd .lib/slim.exe worked. The debug version is there.
更多推荐
如何在automake c项目中获取调试符号
发布评论