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.
本文标题:gdb
本文链接:https://www.haomeiwen.com/subject/xlhavctx.html
网友评论