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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

829 Views
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

Labels (1)
0 Kudos
2 Replies

586 Views
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 Kudos

586 Views
vaughn
Contributor II

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

0 Kudos