CCS 版本 6.1.0.00104
编译器版本 c6000_7.4.12
编译参数 -mv6740 --abi=eabi -O0 -g --optimize_with_debug=off
异常分析需要栈回溯,调试时 Frame Pointer (FP) 和 SP 的值一致,
文档看到A15是可以用作FP的,寄存器A15 实际没有用作FP。
文档看到相关信息:
The ABI does not designate a dedicated Frame Pointer (FP) register. However, the TI compiler uses A15 as a frame pointer in some circumstances.
我想了解TI 编译器是否支持FP 栈回溯,有无和 GCC --frame_pointer 类似的编译开关。
您好,
已经收到了您的案例,调查需要些时间,感谢您的耐心等待。
您好,
我想了解TI 编译器是否支持FP 栈回溯
我不确定这是什么意思。
有关堆栈上每个函数的信息都编码在 Dwarf 调试信息中,CCS 在调试时使用该信息创建调用堆栈视图。
7.1. Debug Overview — Code Composer Studio 20.1.1 Documentation
有无和 GCC--frame_pointer 类似的编译开关
很遗憾,没有。