为什么我会收到消息“单步直到退出...没有行号信息"在 GDB 中? [英] Why am I getting the message "Single-stepping until exit . . . which has no line number information" in GDB?
本文介绍了为什么我会收到消息“单步直到退出...没有行号信息"在 GDB 中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已经使用 -g
标志使用 gcc 4.4.1 编译了我的 C 程序,但是当我尝试单步执行 中的一个函数时gdb 7.0 版,我收到消息:
I've compiled my C program using gcc 4.4.1 using the flag -g
, but when I try to step through one of my functions in gdb version 7.0, I get the message:
"Single stepping until exit from function _DictionaryTree_getNodeList,
which has no line number information."
谁能告诉我为什么会这样?
Can someone tell me why this is happening?
推荐答案
只是猜测,但是 _DictionaryTree_getNodeList 是在另一个不是用 -g 编译的文件中吗?
Just guessing, but is _DictionaryTree_getNodeList in another file that wasn't compiled with -g?
这篇关于为什么我会收到消息“单步直到退出...没有行号信息"在 GDB 中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文