debug note--gdb no debugging symbols found

add -g when gcc.

原文地址:https://www.cnblogs.com/hellohelloworld/p/3819688.html