| 1 | diff -u -r ../gdb-7.9/gdb/gdbserver/linux-x86-low.c ./gdb/gdbserver/linux-x86-low.c |
| 2 | --- ../gdb-7.9/gdb/gdbserver/linux-x86-low.c 2015-02-19 06:58:07.000000000 -0500 |
| 3 | +++ ./gdb/gdbserver/linux-x86-low.c 2015-03-17 18:29:50.412805866 -0400 |
| 4 | @@ -38,6 +38,11 @@ |
| 5 | #include "tracepoint.h" |
| 6 | #include "ax.h" |
| 7 | |
| 8 | +#ifdef __ANDROID__ |
| 9 | +#include <sys/ucontext.h> |
| 10 | +typedef fpregset_t elf_fpxregset_t; |
| 11 | +#endif |
| 12 | + |
| 13 | #ifdef __x86_64__ |
| 14 | /* Defined in auto-generated file amd64-linux.c. */ |
| 15 | void init_registers_amd64_linux (void); |
| 16 | @@ -113,7 +118,6 @@ |
| 17 | #endif |
| 18 | |
| 19 | #include <sys/reg.h> |
| 20 | -#include <sys/procfs.h> |
| 21 | #include <sys/ptrace.h> |
| 22 | #include <sys/uio.h> |
| 23 | |