This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Improve the fetch/store of general-purpose and floating-point PowerPC registers
- From: Joel Brobecker <brobecker at adacore dot com>
- To: S?rgio Durigan J?nior <sergiodj at linux dot vnet dot ibm dot com>
- Cc: luisgpm at linux dot vnet dot ibm dot com, gdb-patches at sourceware dot org, Mark Kettenis <mark dot kettenis at xs4all dot nl>
- Date: Wed, 6 May 2009 09:58:42 -0700
- Subject: Re: [PATCH] Improve the fetch/store of general-purpose and floating-point PowerPC registers
- References: <1231289020.2026.3.camel@miki> <200901070955.n079twBj014790@brahms.sibelius.xs4all.nl> <1231344540.2026.7.camel@miki> <1231436749.2026.19.camel@miki> <1231503988.12849.6.camel@gargoyle> <1232558849.6328.23.camel@miki> <20090428200725.GC31821@adacore.com> <1240953172.2392.1.camel@miki> <20090429040506.GI31821@adacore.com> <1241548465.30332.30.camel@miki>
> 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