当前位置:Gxlcms > 数据库问题 > gdb 调试中No symbol “***” in current context解决方法

gdb 调试中No symbol “***” in current context解决方法

时间:2021-07-01 10:21:17 帮助过:19人阅读

主要是因为GCC/G++版本和GDB不匹配造成的,网上也有说是因为O2优化问题,具体啥原因需要自己尝试一下。

解决:

放狗搜索,解决办法是在编译是加-gdwarf-3即可,出现这样的原因是gcc,gdb的版本不匹配造成的。

参考:

https://blog.csdn.net/u013573789/article/details/45564289

https://blog.csdn.net/u014517002/article/details/49850105

gdb 调试中No symbol “***” in current context解决方法

标签:contex   art   article   需要   调试   优化问题   出现   搜索   text   

人气教程排行