This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH v2 6/8] [PowerPC] Fix VSX registers in linux core files
- From: "Ulrich Weigand" <uweigand at de dot ibm dot com>
- To: pedromfc at linux dot vnet dot ibm dot com (Pedro Franco de Carvalho)
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 22 May 2018 14:46:05 +0200 (CEST)
- Subject: Re: [PATCH v2 6/8] [PowerPC] Fix VSX registers in linux core files
Pedro Franco de Carvalho wrote:
> gdb/ChangeLog:
> yyyy-mm-dd Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
>
> * ppc-linux-tdep.c (ppc_linux_vsxregset): New function.
> (ppc32_linux_vsxregmap): New global.
> (ppc32_linux_vsxregset): Initialize with ppc32_linux_vsxregmap,
> regcache_supply_regset, and regcache_collect_regset.
> * ppc-linux-tdep.h (ppc_linux_vsxregset): Declare.
> * ppc-linux-nat.c (supply_vsxregset, fill_vsxregset): Remove.
> (fetch_vsx_register, store_vsx_register): Remove.
> (fetch_vsx_registers): Add regno parameter. Get regset using
> ppc_linux_vsxregset. Use regset to supply registers.
> (store_vsx_registers): Add regno parameter. Get regset using
> ppc_linux_vsxregset. Use regset to collect registers.
> (fetch_register): Call fetch_vsx_registers instead of
> fetch_vsx_register.
> (store_register): Call store_vsx_registers instead of
> store_vsx_register.
> (fetch_ppc_registers): Call fetch_vsx_registers with -1 for the
> new regno parameter.
> (store_ppc_registers): Call store_vsx_registers with -1 for the
> new regno parameter.
> * rs6000-tdep.c (ppc_vsx_support_p, ppc_supply_vsxreget)
> (ppc_collect_vsxregset): Remove.
>
> gdb/testsuite/ChangeLog:
> yyyy-mm-dd Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
>
> * gdb.arch/powerpc-vsx-gcore.exp: New file.
This is OK.
Thanks,
Ulrich
--
Dr. Ulrich Weigand
GNU/Linux compilers and toolchain
Ulrich.Weigand@de.ibm.com