diff options
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/gdbserver/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/gdbserver/linux-xtensa-low.c | 2 | ||||
-rw-r--r-- | gdb/xtensa-linux-nat.c | 1 |
4 files changed, 11 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 8671d4f..78ee329 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2014-01-20 Baruch Siach <baruch@tkos.co.il> + + * xtensa-linux-nat.c: Include asm/ptrace.h. + 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org> * Makefile.in (SFILES): Add d-support.c. diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index 7eb9e60..1deea57 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,3 +1,8 @@ +2014-01-20 Baruch Siach <baruch@tkos.co.il> + + * linux-xtensa-low.c: Include asm/ptrace.h instead of + sys/ptrace.h. + 2014-01-17 Pedro Alves <palves@redhat.com> PR build/16445 diff --git a/gdb/gdbserver/linux-xtensa-low.c b/gdb/gdbserver/linux-xtensa-low.c index 7db97a9..479b65b 100644 --- a/gdb/gdbserver/linux-xtensa-low.c +++ b/gdb/gdbserver/linux-xtensa-low.c @@ -24,7 +24,7 @@ void init_registers_xtensa (void); extern const struct target_desc *tdesc_xtensa; -#include <sys/ptrace.h> +#include <asm/ptrace.h> #include <xtensa-config.h> #include "xtensa-xtregs.c" diff --git a/gdb/xtensa-linux-nat.c b/gdb/xtensa-linux-nat.c index 2372e79..9340c62 100644 --- a/gdb/xtensa-linux-nat.c +++ b/gdb/xtensa-linux-nat.c @@ -36,6 +36,7 @@ #include <fcntl.h> #include <sys/procfs.h> #include <sys/ptrace.h> +#include <asm/ptrace.h> #include "gregset.h" #include "xtensa-tdep.h" |