This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH v2 4/8] [PowerPC] Consolidate linux vector regset sizes
- 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:44:02 +0200 (CEST)
- Subject: Re: [PATCH v2 4/8] [PowerPC] Consolidate linux vector regset sizes
Pedro Franco de Carvalho wrote:
> gdb/ChangeLog:
> yyyy-mm-dd Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
>
> * arch/ppc-linux-common.h (PPC_LINUX_SIZEOF_VRREGSET)
> (PPC_LINUX_SIZEOF_VSXREGSET): Define.
> * ppc-linux-nat.c (SIZEOF_VSXREGS, SIZEOF_VRREGS): Remove.
> (gdb_vrregset_t): Change array type size to
> PPC_LINUX_SIZEOF_VRREGSET.
> (gdb_vsxregset_t): Change array type size to
> PPC_LINUX_SIZEOF_VSXREGSET.
> * ppc-linux-tdep.c (ppc_linux_iterate_over_regset_sections):
> Change integer literals to PPC_LINUX_SIZEOF_VRREGSET and
> PPC_LINUX_SIZEOF_VSXREGSET.
>
> gdb/gdbserver/ChangeLog:
> yyyy-mm-dd Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
>
> * linux-ppc-low.c (SIZEOF_VSXREGS, SIZEOF_VRREGS): Remove.
> (ppc_arch_setup): Change SIZEOF_VRREGS and SIZEOF_VSXREGS to
> PPC_LINUX_SIZEOF_VRREGSET and PPC_LINUX_SIZEOF_VSXREGSET.
This is OK.
Thanks,
Ulrich
--
Dr. Ulrich Weigand
GNU/Linux compilers and toolchain
Ulrich.Weigand@de.ibm.com