gdb tui,dl-debug.c:74没有这样的文件或目录 [英] gdb tui, dl-debug.c:74 no such file or directory
问题描述
如果我使用 -g
标志编译的文件启动 gdb -tui
或 gdbtui
,然后设置 b main
,然后按 r
,我得到提示 dl-debug.c:74没有这样的文件或目录
,并且在遍历源代码窗口时的输出将被写入源代码窗口.在底部,这也弄乱了该窗口,因此无法真正阅读.我已经看过 askubuntu.com 和
If I start gdb -tui
or gdbtui
with an -g
flag compiled file, then set b main
and press r
I get the hint dl-debug.c:74 no such file or directory
and the output while stepping through the source window will be written to the source window at the bottom, which also messes up this window so that is not really readable. I've already looked at askubuntu.com and Sourceware Bugzilla – Bug List and at this site but found no solution.
我还尝试了另一台计算机上的 sudo apt-get install ddd
来解决问题,但是后来我只得到身份验证失败,我也
I also tried out sudo apt-get install ddd
on another machine to go to the trouble out of the way, but then I only get authentication failure, which I also already asked without response on ask ubuntu.
感谢任何帮助或提示.
推荐答案
dl-debug.c:74没有这样的文件或目录
此消息表示您已尝试进入未安装的GLIBC(更确切地说是动态加载程序)源.
This message means that you've tried to step into GLIBC (more precisely the dynamic loader) source, which you didn't install.
解决方案:不要尝试介入其中,也不要安装GLIBC源并使GDB找到它(帮助目录
).
Solution: don't try to step into it, or install GLIBC source and make GDB find it (help directory
).
这篇关于gdb tui,dl-debug.c:74没有这样的文件或目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!