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

Sérgio Durigan Júnior sergiodj@linux.vnet.ibm.com
Thu Jan 8 17:46:00 GMT 2009


Hey guys,

Here's the new version, without the modifications in configure.ac.

Thanks,

-- 
Sérgio Durigan Júnior
Linux on Power Toolchain - Software Engineer
Linux Technology Center - LTC
IBM Brazil

2009-01-08  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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: read-regs.patch
Type: text/x-patch
Size: 8553 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20090108/8459a9c2/attachment.bin>


More information about the Gdb-patches mailing list