gdb没有调试信息

which has no line number information.
No symbol “i” in current context.

这些提示信息都是没有调试符号。
中文站点搜了一堆,全是肤浅的忘加-g参数的问题。

最后从stackoverflow得到了解决。
mark一下:this, this, and this

牛逼参数-gdwarf-2

好不容易编好一个gdb 7.10,结果又遇到问题了:

Python Exception <type 'exceptions.NameError'> Installation error: gdb.execute_unwinders function is missing:

解决方法:stackoverflow

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章