From: Dan Malek <dan@embeddededge.com>
To: Kumar Gala <kumar.gala@motorola.com>
Cc: Paul Mackerras <paulus@samba.org>, linuxppc-embedded@lists.linuxppc.org
Subject: Re: pt_regs.dbcr0/1
Date: Tue, 04 Jun 2002 18:10:55 -0400 [thread overview]
Message-ID: <3CFD3AEF.9020908@embeddededge.com> (raw)
In-Reply-To: D68E7052-7802-11D6-B64C-003065BFB10E@motorola.com
Kumar Gala wrote:
> I am not seeing where the other debug registers that are associated with
> the debug state are being state changed and managed....
They aren't, and are the reason for the gdb 4xx-aware discussion. Today,
all of those features are handled in the generic manner with code modification.
The only thing the debug registers are used to support are single step.
If the book-E MSR would have kept the single step, we wouldn't need any
of the debug context switching to be compliant with other PPCs.
Many of the processors have some form of (incompatible :-) hardware debug
capability. I know the external debuggers use these registers, but we
don't use these with standard software tools. I guess if we knew gdb
was setting a breakpoint (instead of just the modification of memory), we
could have the kernel set these registers. The alternative is to make
gdb aware of all of these different hardware debug capabilities and have
some interface to support it.
This isn't a 4xx or even book-E specific discussion. The MPC8xx, and I
believe the 7xx and 74xx all have some form of hardware debug support
accessible from software.
Thanks.
-- Dan
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
next prev parent reply other threads:[~2002-06-04 22:10 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-06-01 5:08 pt_regs.dbcr0/1 Paul Mackerras
2002-06-03 6:04 ` pt_regs.dbcr0/1 Armin
2002-06-04 1:23 ` pt_regs.dbcr0/1 Dan Malek
2002-06-04 5:02 ` pt_regs.dbcr0/1 Paul Mackerras
2002-06-04 17:22 ` pt_regs.dbcr0/1 Dan Malek
2002-06-04 21:34 ` pt_regs.dbcr0/1 Kumar Gala
2002-06-04 22:00 ` pt_regs.dbcr0/1 Frank Rowand
2002-06-04 22:10 ` Dan Malek [this message]
2002-06-04 21:55 ` pt_regs.dbcr0/1 Frank Rowand
2002-06-04 22:03 ` pt_regs.dbcr0/1 Paul Mackerras
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=3CFD3AEF.9020908@embeddededge.com \
--to=dan@embeddededge.com \
--cc=kumar.gala@motorola.com \
--cc=linuxppc-embedded@lists.linuxppc.org \
--cc=paulus@samba.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).