LinuxC使用gdb调试常用方法

注意:编译生成可执行文件时之前必须加参数 -g,比如:gcc hello.c -o hello -g

原文地址:https://www.cnblogs.com/yongfengnice/p/11902091.html