It has been 775 days since the last update, the content of the article may be outdated.

1.在自己写的程序需要用GDB的时候

需要用-g 来编译

plaintext
1
gcc test.c -g -o test

2.