aboutsummaryrefslogtreecommitdiff
path: root/gdb/ppc-linux-nat.c
diff options
context:
space:
mode:
authorPedro Franco de Carvalho <pedromfc@linux.ibm.com>2018-10-29 12:05:11 -0300
committerPedro Franco de Carvalho <pedromfc@linux.ibm.com>2018-10-31 10:59:26 -0300
commit64f57f3d7d7b8e7bf9f57caa1389ac5ee3ecfec7 (patch)
treea08328226d746f668d7b5fdb3d8482c97f863e4b /gdb/ppc-linux-nat.c
parenteb77c9df9f6d2f7aa644a170280fe31ce080f887 (diff)
downloadgdb-64f57f3d7d7b8e7bf9f57caa1389ac5ee3ecfec7.zip
gdb-64f57f3d7d7b8e7bf9f57caa1389ac5ee3ecfec7.tar.gz
gdb-64f57f3d7d7b8e7bf9f57caa1389ac5ee3ecfec7.tar.bz2
[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.
Diffstat (limited to 'gdb/ppc-linux-nat.c')
-rw-r--r--gdb/ppc-linux-nat.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/ppc-linux-nat.c b/gdb/ppc-linux-nat.c
index e83912d..8d35682 100644
--- a/gdb/ppc-linux-nat.c
+++ b/gdb/ppc-linux-nat.c
@@ -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. */