Note: You must add the parameter before -g when you compile an executable file, such as: gcc hello.c -o hello -g
LinuxC use gdb debugging common method
Guess you like
Origin www.cnblogs.com/yongfengnice/p/11902091.html
Ranking