[RFC/PATCH 2/5] powerpc: Cleanup ptrace bits

Kumar Gala galak at kernel.crashing.org
Tue May 29 23:19:42 EST 2007


On May 29, 2007, at 4:02 AM, Benjamin Herrenschmidt wrote:

> On Tue, 2007-05-29 at 16:45 +1000, Benjamin Herrenschmidt wrote:
>>
>> This patch cleans that up a bit by having a ptrace-common.h which
>> contains
>> really common code (and makes a lot more code common), and
>> ptrace-ppc32.h and
>> ptrace-ppc64.h files that contain the few remaining different bits.
>
> Hrm.. we do have a subtle difference in vrregs that I've missed.. I'll
> respin tomorrow. It looks like we don't store the VRSAVE register  
> at the
> same place on 32 and 64 bits... yuck. I need to double check tomorrow.

That's bad.  We really should have VRSAVE in the same location for  
both.  (wondering if GDB expects it a different locations on 32 vs 64- 
bits.)

- k



More information about the Linuxppc-dev mailing list