* [ECOS] Re: does ecos support generating core files of kernel crashdumps?
@ 2003-10-15 20:59 Andrew Lunn
0 siblings, 0 replies; only message in thread
From: Andrew Lunn @ 2003-10-15 20:59 UTC (permalink / raw)
To: adrian; +Cc: eCos Disuss
Hi Adrian
There are a couple things you can do to help in field debugging.
1) Hook into the cyg_assert_fail() function and write the text of the
message to flash, syslog, ide device etc
2) Hook into the exception handler and print/flash/syslog all the
saved registers and maybe some of the stack.
If you can read assembly language and match it back to the C sources,
i found the register dump very useful. I've solved, or at least got a
good head start fixing in field bugs with this.
Andrew
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-10-15 20:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-15 20:59 [ECOS] Re: does ecos support generating core files of kernel crashdumps? Andrew Lunn
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).