Port-powerpc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Altivec registers



Andrew Cagney <cagney%mac.com@localhost> 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




Home | Main Index | Thread Index | Old Index