Subject: Re: Altivec registers
To: Andrew Cagney <cagney@mac.com>
From: Nathan J. Williams <nathanw@wasabisystems.com>
List: port-powerpc
Date: 11/30/2001 16:32:30
Andrew Cagney <cagney@mac.com> writes:

> > Hello,
> > Can you get at the Altivec registers from GDB?
> 
> Hmm, lets try.  Can GDB get at the Altivec registers using ptrace?

Not currently. They aren't included in either the "machine registers"
fetched by PT_GETREGS or the "floating point registers" fetched by
PT_GETFPREGS.

So the first step is to define an interface for getting at "extra"
registers such as Altivec and SSE - a PT_GETOTHERREGS would probably
work, but will lose as soon as we get Altivec2 registers or something
- and then do a little back-end glue in the PowerPC process_machdep.c
to recognize it.

        - Nathan