如何在automake c项目中获取调试符号

编程入门 行业动态 更新时间:2024-10-23 04:57:56
本文介绍了如何在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项目中获取调试符号

本文发布于:2023-07-16 20:17:42,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1125489.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:符号   项目   如何在   automake

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!