LinuxC use gdb debugging common method

Note: You must add the parameter before -g when you compile an executable file, such as: gcc hello.c -o hello -g

Guess you like

Origin www.cnblogs.com/yongfengnice/p/11902091.html