From: Andrew Lunn <andrew@lunn.ch>
To: adrian@atheros.com
Cc: eCos Disuss <ecos-discuss@sources.redhat.com>
Subject: [ECOS] Re: does ecos support generating core files of kernel crashdumps?
Date: Wed, 15 Oct 2003 20:59:00 -0000 [thread overview]
Message-ID: <20031015205628.GB1165@lunn.ch> (raw)
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
reply other threads:[~2003-10-15 20:59 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20031015205628.GB1165@lunn.ch \
--to=andrew@lunn.ch \
--cc=adrian@atheros.com \
--cc=ecos-discuss@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).