From: Dan Malek <dan@embeddededge.com>
To: kentborg@borg.org
Cc: linuxppc-embedded@lists.linuxppc.org,
rudolf.ladyzhenskii@act-aus.net, paq@wavemark.com
Subject: Re: Abatron for Userland Debugging?
Date: Tue, 04 Dec 2001 18:32:19 -0500 [thread overview]
Message-ID: <3C0D5D03.1060303@embeddededge.com> (raw)
In-Reply-To: 20011204224832.4724.qmail@borg.org
kentborg@borg.org wrote:
> -kb, the Kent who is thinking the Abatron will be useful in watching
> ptrace and gdbserver chat with one another.
You have to be a little bit careful with this.
First, there is a configuration option to add BDI context switch. This
switches the user page tables for teh BDI so you can at least look into
the process space for the current thread. This is useful for things like
system call tracing to see what the application actually did. This is a
configuration option because it adds a couple of instruction to the
context switch path.
Second, when debugging ptrace or gdb activity with the Abatron, you have
to be careful on some processors. For example, on 4xx processors the
BDI2000 uses the same processor debug registers as gdb or ptrace would,
so you end up fighting over the debug register contents and no one knows
what it going on.
-- Dan
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
next prev parent reply other threads:[~2001-12-04 23:32 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-12-04 22:48 RE: Abatron for Userland Debugging? kentborg
2001-12-04 23:32 ` Dan Malek [this message]
-- strict thread matches above, loose matches on Subject: below --
2001-12-04 22:27 Rudolf Ladyzhenskii
2001-12-04 21:20 Kent Borg
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=3C0D5D03.1060303@embeddededge.com \
--to=dan@embeddededge.com \
--cc=kentborg@borg.org \
--cc=linuxppc-embedded@lists.linuxppc.org \
--cc=paq@wavemark.com \
--cc=rudolf.ladyzhenskii@act-aus.net \
/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).