[PATCH] Improve the fetch/store of general-purpose and floating-point PowerPC registers

Joel Brobecker brobecker@adacore.com
Wed May 6 16:58:00 GMT 2009


> Here goes the reviewed version of the patch, addressing your
> observations.  Is it OK to check in now?

Perfect. Thank you very much :)

> 2009-05-05  Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
> 
> 	* ppc-linux-nat.c (have_ptrace_getsetregs): New variable.
> 	(have_ptrace_getsetfpregs): Likewise.
> 	fetch_all_gp_regs): New function.
> 	(fetch_gp_regs): New function.
> 	(fetch_all_fp_regs): Likewise.
> 	(fetch_fp_regs): New function.
> 	(fetch_ppc_registers): Using the new methods to fetch general-
> 	purpose and floating-pointer registers.
> 	(store_all_gp_regs): New function.
> 	(store_gp_regs): Likewise.
> 	(store_all_fp_regs): New function.
> 	(store_fp_regs): Likewise.
> 	(store_ppc_registers): Using the new methods to store general-
> 	purpose and floating-pointer registers.

-- 
Joel



More information about the Gdb-patches mailing list