[PowerPC] Include nat/linux-ptrace.h in native targets
authorPedro Franco de Carvalho <pedromfc@linux.ibm.com>
Mon, 29 Oct 2018 15:05:11 +0000 (12:05 -0300)
committerPedro Franco de Carvalho <pedromfc@linux.ibm.com>
Wed, 31 Oct 2018 13:59:26 +0000 (10:59 -0300)
commit64f57f3d7d7b8e7bf9f57caa1389ac5ee3ecfec7
treea08328226d746f668d7b5fdb3d8482c97f863e4b
parenteb77c9df9f6d2f7aa644a170280fe31ce080f887
[PowerPC] Include nat/linux-ptrace.h in native targets

Patch "[PowerPC] Add support for PPR and DSCR" used
PTRACE_GETREGSET/SETREGSET without including the fallback definitions
from "nat/linux-ptrace.h".  Include this header to avoid breaking
builds in systems that don't define them.

gdb/ChangeLog:
2018-10-31  Pedro Franco de Carvalho  <pedromfc@linux.ibm.com>

* ppc-linux-nat.c: Include nat/linux-ptrace.h.

gdb/gdbserver/ChangeLog:
2018-10-31  Pedro Franco de Carvalho  <pedromfc@linux.ibm.com>

* linux-ppc-low.c: Include nat/linux-ptrace.h.
gdb/ChangeLog
gdb/gdbserver/ChangeLog
gdb/gdbserver/linux-ppc-low.c
gdb/ppc-linux-nat.c