From: Daniel Jacobowitz <drow@false.org>
To: Kumar Gala <kumar.gala@motorola.com>
Cc: linuxppc-dev@lists.linuxppc.org
Subject: Re: RFC: generic vector unit support?
Date: Thu, 3 Oct 2002 17:31:43 -0400 [thread overview]
Message-ID: <20021003213143.GA9675@nevyn.them.org> (raw)
In-Reply-To: <E81F90F8-D715-11D6-B5AB-003065BFB10E@motorola.com>
On Thu, Oct 03, 2002 at 04:20:14PM -0500, Kumar Gala wrote:
> I am not sure about what to do about ptrace. We extended the interface
> to have two new request types (PTRACE_GETVRREGS, PTRACE_SETVRREGS)
> which return the full altivec state (all registers, vscr, vrsave). We
> could overload these request types to return all the 'vector' state
> depending on which processor we are. This would mean debuggers would
> have to know which processor we are to know how big of a buffer to have
> for ptrace calls, the memory layout, etc.
I'd rather see you do it the other way around: Add PTRACE_GETSPEREGS
in the e500, so that the debugger can use ptrace to figure out which
registers are available.
> We also extend generic vector idea to allow dumping of altivec/SPE
> register state into core files (which we do not do currently).
That's a great idea. Again, I think Altivec and SPE registers should
be tagged differently even though they can't coexist.
Otherwise, it sounds like a good idea to me.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
next prev parent reply other threads:[~2002-10-03 21:31 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-03 21:20 RFC: generic vector unit support? Kumar Gala
2002-10-03 21:31 ` Daniel Jacobowitz [this message]
2002-10-04 17:49 ` Kumar Gala
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=20021003213143.GA9675@nevyn.them.org \
--to=drow@false.org \
--cc=kumar.gala@motorola.com \
--cc=linuxppc-dev@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.