aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/nat/linux-ptrace.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index c5ffe47..91e8b71 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,9 @@
+2016-08-11 Pedro Alves <palves@redhat.com>
+
+ PR gdb/20413
+ * nat/linux-ptrace.c: Include <sys/procfs.h> instead of
+ "gregset.h".
+
2016-08-10 Pedro Alves <palves@redhat.com>
PR gdb/19187
diff --git a/gdb/nat/linux-ptrace.c b/gdb/nat/linux-ptrace.c
index 980ed53..f00f179 100644
--- a/gdb/nat/linux-ptrace.c
+++ b/gdb/nat/linux-ptrace.c
@@ -23,7 +23,7 @@
#include "buffer.h"
#include "gdb_wait.h"
#include "gdb_ptrace.h"
-#include "gregset.h"
+#include <sys/procfs.h>
/* Stores the ptrace options supported by the running kernel.
A value of -1 means we did not check for features yet. A value