Hi guys, The following patch improves the way GDB does fetch/store operations on general-purpose and floating-point registers on the PowerPC architecture. Basically, it uses the ptrace() options PTRACE_{GET,SET}REGS, PTRACE_{GET,SET}FPREGS and PTRACE_{GET,SET}REGS64. I've tested it running a regression test on various machines/kernel combinations, and it does not cause any regression. Comments, as always, are welcome. Regards, -- Sérgio Durigan Júnior Linux on Power Toolchain - Software Engineer Linux Technology Center - LTC IBM Brazil 2008-10-07 Sergio Durigan Junior * configure.ac: Checking the existence of PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETREGS64, PTRACE_SETREGS64, PTRACE_GETFPREGS and PTRACE_SETFPREGS in . * ppc-linux-nat.c (fetch_gp_regs): New. (fetch_fp_regs): New. (fetch_ppc_registers): Using the new method to fetch general- purpose and floating-pointer registers. (store_gp_regs): New. (store_fp_regs): New. (store_ppc_registers): Using the new method to store general- purpose and floating-pointer registers.