[RFC/PATCH 5/5] powerpc: Allow ptrace write to pt_regs trap

Benjamin Herrenschmidt benh at kernel.crashing.org
Wed May 30 14:33:31 EST 2007


> This doesn't look sufficient.  If you want GDB to use the save/ 
> restore style means of handling interrupted calls (like i386), 
> at the very least we also need the capability to *write* the 
> orig_gpr3 field, which is currently prohibited.  (I don't know 
> why this is case, though.) 

Ok, I found it... put_reg doesn't filter it out but the caller does.
Fixing that too.

Ben.





More information about the Linuxppc-dev mailing list