This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Debugging Thumb code
- From: John Dallaway <john at dallaway dot org dot uk>
- To: Ilija Kocho <ilijak at siva dot com dot mk>, Sergei Gavrikov <sergei dot gavrikov at gmail dot com>
- Cc: eCos Discussion <ecos-discuss at ecos dot sourceware dot org>
- Date: Fri, 20 Mar 2009 14:16:59 +0000
- Subject: [ECOS] 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