KDS+arm-none-eabi-gcc 5.4.1: can NOT debug

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

KDS+arm-none-eabi-gcc 5.4.1: can NOT debug

2,127 次查看
vaughn
Contributor II

There's no solution to fix KDS: variable optimized out when compile with O2 and LTO option. so i try replace gcc 4.9.1 with higher version 5.4.1.

When using arm-none-eabi-gcc 5.4.1, KDS can not launch debug. so there's maybe a compatibility between KDS and arm-none-eabi-gcc 5.4.1.

KDS launch debug with arm-none-eabi-gcc 5.4.1.png

标签 (1)
0 项奖励
回复
2 回复数

1,884 次查看
BlackNight
NXP Employee
NXP Employee

Hi,

Did you replace gdb as well? gcc and gdb should be in sync.

I hope this helps,

Erich

0 项奖励
回复

1,884 次查看
vaughn
Contributor II

Thanks Erich, the whole ToolChain is clear to empty and then extract new GCC 5.4 into that folder.

0 项奖励
回复