From: Charles Lepple <clepple@mitre.org>
To: toa@pop.agri.ch
Cc: Linux -Dev <linuxppc-dev@lists.linuxppc.org>
Subject: Re: remote debugging?
Date: Thu, 06 Jan 2000 13:43:03 -0500 [thread overview]
Message-ID: <3874E237.57063BBE@mitre.org> (raw)
In-Reply-To: 3874C8D8.835DBC64@pop.agri.ch
Andreas Tobler wrote:
[...]
> The kernel is compiled with xmon included, the one I test boots and is a
> 2214pre18. It's only to find out how 'remote' works.
Once you have a kernel with xmon support, you can generate an NMI
(command-power, I believe) and that drops you into xmon (assuming the
machine is not too far gone). In addition, xmon will come up when a
fatal exception occurs, or when you put a xmon(0) call into a function
in the kernel.
When debugging an embedded system, I just put a bunch of xmon(0) calls
at strategic locations, and when I got close to where the system was
hanging, I poked around with xmon.
Paul Mackerras wrote some documentation for xmon that you may want to
check out. It doesn't seem to be in Documentation/ but it's probably at
linuxppc.cs.nmt.edu or something (search the mail archives -- it has
been discussed before).
--
Charles Lepple
clepple@mitre.org
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
next prev parent reply other threads:[~2000-01-06 18:43 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-01-06 16:55 remote debugging? Andreas Tobler
2000-01-06 18:43 ` Charles Lepple [this message]
2000-01-06 19:14 ` Andreas Tobler
2000-01-07 12:57 ` Olaf Hering
2000-01-08 17:33 ` Geert Uytterhoeven
2000-01-06 20:18 ` Geert Uytterhoeven
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=3874E237.57063BBE@mitre.org \
--to=clepple@mitre.org \
--cc=linuxppc-dev@lists.linuxppc.org \
--cc=toa@pop.agri.ch \
/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 NNTP newsgroup(s).