Hi Sergei On 17 Mar 2012, at 14:50, Sergei Gavrikov <sergei.gavri...@gmail.com> wrote:.
> >>> So, I agree with the said "Thumb support looks broken" at the least >>> for lpc2xxx, lpc24xx variants, but, it seems to me it was broken >>> even before eCos 3.0. >> >> I have just verified that the kernel tm_basic test builds for target >> eb40a (ARM7) with RAM startup and CYGHWR_THUMB. The resulting binary >> runs under debug (via RedBoot) without problem. This is using the new >> eCos 4.6.2-20120125 test release toolchain. > > What is about GCC optimization in your test? So far, I found that I can > run only not optimized thumb executables in GDB under RedBoot, and -O1, > and -O2 builds are failed as I reported above. Though, I guess that you > use default -O2 optimization for your test. FYI, I disabled optimisation in the eCos build for my test on eb40a target. John Dallaway