no debugging symbols found when using gdb

前端 未结 7 1072
南方客
南方客 2020-12-12 20:59

GNU gdb Fedora (6.8-37.el5) Kernal 2.6.18-164.el5

I am trying to debug my application. However, everytime I pass the binary to the gdb it says:

(         


        
相关标签:
7条回答
  • 2020-12-12 21:30

    Replace -ggdb with -g and make sure you aren't stripping the binary with the strip command.

    0 讨论(0)
提交回复
热议问题