This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Debugging Thumb code


Hi Ilija and Sergei

Many thanks for your eCos 3.0 beta 1 testing reports.

I wonder if you're also able to check for correct debugging of eCos
applications built for Thumb? Since one of you is using a big-endian ARM
target and the other a little-endian ARM target you can together provide
good coverage.

For avoidance of doubt:

a) eCos should build for Thumb on ARM architecture simply by enabling
CYGHWR_THUMB. I strongly recommend using a completely new build tree and
enabling CYGHWR_THUMB before invoking make for the first time.

b) The standard build of RedBoot should support debugging of both ARM
and Thumb applications. You do not need to rebuild RedBoot.

If you're able to confirm the correct operation of Thumb breakpoints,
single stepping and backtraces in a simple application which runs in a
loop such as the "twothreads" example application this would be very
helpful. You can build the twothreads example as follows:

  cd /opt/ecos/ecos-3.0b1/examples
  make twothreads INSTALL_DIR=/path/to/ecos-build/install

John Dallaway

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]