[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.
This commit is contained in:
parent
eb77c9df9f
commit
64f57f3d7d
|
@ -1,3 +1,7 @@
|
|||
2018-10-31 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
|
||||
|
||||
* ppc-linux-nat.c: Include nat/linux-ptrace.h.
|
||||
|
||||
2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
|
||||
|
||||
* dwarf2read.c (struct dwarf2_cu): Add producer_is_icc field.
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
2018-10-31 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
|
||||
|
||||
* linux-ppc-low.c: Include nat/linux-ptrace.h.
|
||||
|
||||
2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
|
||||
|
||||
* configure.srv (ipa_ppc_linux_regobj): Add
|
||||
|
|
|
@ -28,6 +28,7 @@
|
|||
#include "arch/ppc-linux-common.h"
|
||||
#include "arch/ppc-linux-tdesc.h"
|
||||
#include "nat/ppc-linux.h"
|
||||
#include "nat/linux-ptrace.h"
|
||||
#include "linux-ppc-tdesc-init.h"
|
||||
#include "ax.h"
|
||||
#include "tracepoint.h"
|
||||
|
|
|
@ -36,6 +36,7 @@
|
|||
#include <fcntl.h>
|
||||
#include <sys/procfs.h>
|
||||
#include "nat/gdb_ptrace.h"
|
||||
#include "nat/linux-ptrace.h"
|
||||
#include "inf-ptrace.h"
|
||||
|
||||
/* Prototypes for supply_gregset etc. */
|
||||
|
|
Loading…
Reference in New Issue