This is the mail archive of the ecos-discuss@sourceware.cygnus.com 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]

Debugging techiques


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





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