gdb调试No symbol table is loaded.Use the "file" command.

xiaoxiao2025-04-27  13

使用gdb调试的时候,出现No symbol table is loaded. Use the “file” command.错误

原因:编译时没有在 gcc 后添加 -g 选项,表示程序可以被gdb调试

转载请注明原文地址: https://www.6miu.com/read-5029260.html

最新回复(0)