# Re: AltiVec register ptrace support

- From: Paul Mackerras \<hidden\>
- Date: 2001-12-16 21:11:10 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2001/12/9380477
- Thread: https://ratatoskr.run/linuxppc-dev/2001/12/9380396/t.md

```text

Andrew Cagney writes:

> The Linux/PPC kernel supports PEEK/POKE for fetching registers.  The
> proposed Kernel interface _consistently_ extends that interface using
> the exact same mechanims to obtain the altivec regiters.  All the
> required changes for this have been posted and have been demonstrated to
> work.
>
> Separate to that, it has been _proposed_ that the PPC ptrace() interface
> be changed so that get/set reg for all register classes be added
> (incomplete patch posted).  Isn't this separate to the problem at hand?

If we are going to add a get/set reg interface for the altivec vector
registers, I would rather not extend the peek/poke interface to do
that as well.

Paul.

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
```
