我为什么收到消息“单步执行,直到退出". . .没有行号信息"在GDB中? [英] Why am I getting the message "Single-stepping until exit . . . which has no line number information" in GDB?

查看:245
本文介绍了我为什么收到消息“单步执行,直到退出". . .没有行号信息"在GDB中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经使用 gcc 4.4.1 使用标志-g编译了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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆