gdb
2019-10-30 本文已影响0人
jamesowl
For gdb to detect line numbers in source codes, the '-g' option should be added to the compilation command, for example add '-g3' in the Makefile.
For gdb to detect line numbers in source codes, the '-g' option should be added to the compilation command, for example add '-g3' in the Makefile.