[ECOS] Debug eCos kernel

Andrew Lunn andrew@lunn.ch
Tue Feb 10 07:37:00 GMT 2009

On Tue, Feb 10, 2009 at 08:18:56AM +0100, Deroo Stijn wrote:

> Ok, sorry about that, but I want indeed investigate the mutual
> exclusion to see where it goes wrong for my application.  So I still
> don't know how to enable these debugging?

Are you trying to debug problems with the eCos kernel, or the eCos
networking stack. They are two very different things.

Deadloads and things like that can be very hard to debug since they
are very timing dependent. Changing the code changes the timing and
the problem goes away... 

Anyway, first thing is to make sure you have asserts enabled:


and asserts will automatically be enabled. 

Then take a look at:



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

More information about the Ecos-discuss mailing list