This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

ccs5.5编译后调试信息疑似缺失(有 full symbolic debug 选项)



使用ccs默认F28335.cmd,已添加 -g 选项,当文件较多(含有多个文件夹和.c .h文件,text段占用接近.cmd文件中定义的长度)时,编译得到的 二进制 .out 文件中疑似缺失调试信息,

使用objdump解析时报:Can't get contents for section '.debug_info'., debug_frame段解析内容也缺失比较多。

去掉所有调用函数的文件,只保留main.c后编译可以正常得到完整调试信息。

请问可以修改哪些配置内容保证编译较大工程时,二进制文件中包含完整的调试信息?