This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 1/2] Move some ppc macros to nat/ppc-linux.h


Yao Qi wrote:

> gdb/gdbserver:
> 
> 2015-01-11  Yao Qi  <yao@codesourcery.com>
> 
> 	* linux-ppc-low.c: Include "nat/ppc-linux.h".
> 	 (PPC_FEATURE_HAS_VSX): Move to nat/ppc-linux.h.
> 	(PPC_FEATURE_HAS_ALTIVEC,  PPC_FEATURE_HAS_SPE): Likewise.
> 	(PT_ORIG_R3, PT_TRAP): Likewise.
> 	(PTRACE_GETVSXREGS, PTRACE_SETVSXREGS): Likewise.
> 	(PTRACE_GETVRREGS, PTRACE_SETVRREGS): Likewise.
> 	(PTRACE_GETEVRREGS, PTRACE_SETEVRREGS): Likewise.
> 
> gdb:
> 
> 2015-01-11  Yao Qi  <yao@codesourcery.com>
> 
> 	* ppc-linux-nat.c (PT_ORIG_R3, PT_TRAP): Move to
> 	nat/ppc-linux.h.
> 	(PPC_FEATURE_CELL, PPC_FEATURE_BOOKE): Likewise.
> 	(PPC_FEATURE_HAS_DFP): Likewise.
> 	(PTRACE_GETVRREGS, PTRACE_SETVRREGS): Likewise.
> 	(PTRACE_GETVSXREGS, PTRACE_SETVSXREGS): Likewise.
> 	(PTRACE_GETEVRREGS, PTRACE_SETEVRREGS): Likewise.
> 	Include "nat/ppc-linux.h".
> 	* nat/ppc-linux.h: New file.
> 	* Makefile.in (HFILES_NO_SRCDIR): Add nat/ppc-linux.h.

This is OK.

Thanks,
Ulrich

-- 
  Dr. Ulrich Weigand
  GNU/Linux compilers and toolchain
  Ulrich.Weigand@de.ibm.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]