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

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