This is the mail archive of the
ecos-discuss@sourceware.cygnus.com
mailing list for the eCos project.
Re: Debugging techiques
- To: "Jonathan Larmour" <jlarmour at redhat dot co dot uk>
- Subject: Re: [ECOS] Debugging techiques
- From: "Boris V. Guzhov" <borg at int dot spb dot ru>
- Date: Fri, 26 May 2000 10:50:57 +0400
- Cc: <ecos-discuss at sourceware dot cygnus dot com>
Thanks. It works.
I think that it is useful to include in documentation more detailed
description
of the debugging techniques.
Boris Guzhov
>
>If you want all tracing to be printed immediately, change the
>implementation from buffered to "simple" or "fancy", i.e. disable
>CYGDBG_INFRA_DEBUG_TRACE_ASSERT_BUFFER in the infra package and enable e.g.
>CYGDBG_INFRA_DEBUG_TRACE_ASSERT_FANCY.
>
>Other CDL options in this area may be of interest, such as the buffer size
>etc.
>
>> How to use Function Tracing (CYG_REPORT_FUNCTION() and others)?
>
>You mean in your own functions? Have a look at the header file
>infra/VERSION/include/cyg_trac.h in your component reposistory. There's
>plenty of comments at the top. Eventually we want to get this in the
>"proper" documentation, but we haven't yet.
>
>Jifl
>--
>Red Hat, 35 Cambridge Place, Cambridge, UK. CB2 1NS Tel: +44 (1223) 728762
>"Plan to be spontaneous tomorrow." || These opinions are all my own fault
>