From: Jesper Skov <jskov@cygnus.co.uk>
To: Rolf.Fiedler@Ferrari.DE
Cc: linuxppc-embedded@lists.linuxppc.org
Subject: Re: debugging a PPC405GP target
Date: 24 Jan 2000 11:42:00 +0100 [thread overview]
Message-ID: <otya9fsqdj.fsf@thinktwice.zoftcorp.dk> (raw)
In-Reply-To: Rolf Fiedler's message of "Mon, 24 Jan 2000 10:57:35 +0100"
>>>>> "Rolf" == Rolf Fiedler <Rolf.Fiedler@Ferrari.DE> writes:
Rolf> this is plain wrong. I do not have to use gdbserver, gdbserver
Rolf> is just one possiblity. How can I use the hardware breakpoints
Rolf> in the debug-hardware on the target or have breakpoints in ROM
Rolf> when I use a low-tech debug approach like gdbserver?
I didn't make myself clear, sorry: when you use gdbserver you have a
"stub" which knows about the context in which the application runs
(the Linux operating system). You can (potentially) show thread
information, environment variables and the like [gdbserver doesn't
have thread support at the moment].
It's hard to get the same functionality from the wiggler (because it
only knows about the CPU state). But then it has other advantages as
you say.
>> You may be able to make the wiggler work as a regular serial
>> connection, but I don't see what you gain by that over using a
>> standard ethernet/serial connection (except if the only interface
>> on the board is the wiggler one).
Rolf> It would be not very smart to reduce the wiggler to a regular
Rolf> serial connection, since I have more features then I can address
Rolf> with the gdb remote protocol. The advantages are: - no software
Rolf> on the target (bootstrapping) - use of 4 hw address and 2 hw
Rolf> data breakpoints (try to use a watchpoint with gdbserver and
Rolf> you'll learn what performance really means :-)
There's nothing preventing you from implementing use of hardware
watchpoints and breakpoints in gdbserver. Would probably require some
kernel features to be added as well. But those debugging features are
part of the CPU, not the wiggler hardware.
As anything else OS, it's just a question of someone getting fed up
with the current state of affairs and implement the new stuff, making
the world a better place :)
Jesper
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
next prev parent reply other threads:[~2000-01-24 10:42 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-01-24 9:10 debugging a PPC405GP target Rolf Fiedler
2000-01-24 9:33 ` Jesper Skov
2000-01-24 9:57 ` Rolf Fiedler
2000-01-24 10:42 ` Jesper Skov [this message]
-- strict thread matches above, loose matches on Subject: below --
2000-01-24 17:33 Rolf Fiedler
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=otya9fsqdj.fsf@thinktwice.zoftcorp.dk \
--to=jskov@cygnus.co.uk \
--cc=Rolf.Fiedler@Ferrari.DE \
--cc=linuxppc-embedded@lists.linuxppc.org \
/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).