[ECOS] Debugging techiques

Boris V. Guzhov borg@int.spb.ru
Thu May 25 06:12:00 GMT 2000


Hi all!

My host Linux Redhat 6.2, my target - linux-synthetic.

I like to use the debugging tracing, but I have some problems.

I did following:

mkdir linux-s
cd linux-s
ecosconfig new linux

In ecos.ecc I have changed:

cdl_component CYGPKG_INFRA_DEBUG {
...
 user_value 1
...
};

cdl_component CYGDBG_USE_ASSERTS {
...
    user_value 0
...
};

cdl_component CYGDBG_USE_TRACING {
...
    user_value 1
...
};

Other options I did not change.

ecosconfig check
ecosconfig tree
make

Then I have built hello.c test (from examples) and have run it.

It's result:
Hello, eCos world!

Why there is no tracing printing?

How to use Function Tracing (CYG_REPORT_FUNCTION() and others)?

Thanks in advance for any help you might be able to provide me.

Boris Guzhov






More information about the Ecos-discuss mailing list