输入banner图图片脚本导航/分类

GDB No symbol "XXXXX" in current context

, it will work!

       也就是编译时将-g改为-gdwarf-2


参考:http://stackoverflow.com/questions/18407563/gcc-doesnt-produce-line-number-information-even-with-g-option

GDB No symbol "XXXXX" in current context

标签:gdb   gcc