binutils-gdb/gdb/nat
Yao Qi 514c533895 Move some ppc macros to nat/ppc-linux.h
When I use PPC_FEATURE_BOOKE in GDBserver, I find it is defined in GDB
but not in GDBserver.  After taking a further look, I find some macros
are duplicated between ppc-linux-nat.c and linux-ppc-low.c, so this
patch is to move them into nat/ppc-linux.h.

gdb/gdbserver:

2015-01-14  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-14  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.
2015-01-14 22:28:22 +08:00
..
gdb_thread_db.h
glibc_thread_db.h
linux-btrace.c
linux-btrace.h
linux-nat.h
linux-osdata.c
linux-osdata.h
linux-procfs.c [ARI] Remove trailing new-line in argument of call to warning. 2015-01-13 14:38:19 +04:00
linux-procfs.h Linux: on attach, attach to lwps listed under /proc/$pid/task/ 2015-01-09 11:39:49 +00:00
linux-ptrace.c Linux: on attach, attach to lwps listed under /proc/$pid/task/ 2015-01-09 11:39:49 +00:00
linux-ptrace.h Linux: on attach, attach to lwps listed under /proc/$pid/task/ 2015-01-09 11:39:49 +00:00
linux-waitpid.c
linux-waitpid.h
mips-linux-watch.c
mips-linux-watch.h
ppc-linux.h Move some ppc macros to nat/ppc-linux.h 2015-01-14 22:28:22 +08:00
x86-cpuid.h
x86-dregs.c
x86-dregs.h
x86-gcc-cpuid.h