[PATCH v2 4/8] [PowerPC] Consolidate linux vector regset sizes

Ulrich Weigand uweigand@de.ibm.com
Tue May 22 12:48:00 GMT 2018


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



More information about the Gdb-patches mailing list