public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Debug and Tracing?
@ 2000-09-12  9:16 Colin Ford
  2000-09-12  9:44 ` Bart Veer
  0 siblings, 1 reply; 2+ messages in thread
From: Colin Ford @ 2000-09-12  9:16 UTC (permalink / raw)
  To: Ecos Mailing List

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 369 bytes --]

Hello All,
I must be really thick but I can't find out how to get
the tracing working? What do I have to set and can
I do it using ecosconfig ?
Many thanks,
Col.
-- 
===========================================
Colin Ford               PipingHot Networks
Software Engineer        +44 (0)1364 655510
 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ECOS] Debug and Tracing?
  2000-09-12  9:16 [ECOS] Debug and Tracing? Colin Ford
@ 2000-09-12  9:44 ` Bart Veer
  0 siblings, 0 replies; 2+ messages in thread
From: Bart Veer @ 2000-09-12  9:44 UTC (permalink / raw)
  To: colin.ford; +Cc: ecos-discuss

>>>>> "Colin" == Colin Ford <colin.ford@pipinghotnetworks.com> writes:

    Colin> I must be really thick but I can't find out how to get
    Colin> the tracing working? What do I have to set and can
    Colin> I do it using ecosconfig ?

It can be done by manually editing the ecos.ecc savefile used by
ecosconfig. Details of this process can be found in the User's Guide,
the Manual Configuration section goes into some detail about the
savefile format and how to modify it.

Tracing is controlled by the CYGDBG_USE_TRACING option of the
infrastructure package. First you need to enable debugging generally,
i.e. CYGPKG_INFRA_DEBUG, which will provide some generic support.
Enabling debugging automatically switches on assertions
(CYGDBG_USE_ASSERTS) which you can disable - although I would advise
against that unless you are running into code size problems. It will
not give you tracing automatically because generally that is too
expensive, but you can enable tracing explicitly by changing the value
of CYGDBG_USE_TRACING.

In addition you need to decide what should happen to the events being
traced and how much information should be collected. There is more
information about this in the User's Guide, the section on
Debugging Techniques.

Bart Veer // eCos net maintainer

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-09-12  9:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-09-12  9:16 [ECOS] Debug and Tracing? Colin Ford
2000-09-12  9:44 ` Bart Veer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).