Commit | Line | Data |
---|---|---|
c355e2f2 FF |
1 | diff -u -r ../gdb-7.10/gdb/arm-linux-nat.c ./gdb/arm-linux-nat.c |
2 | --- ../gdb-7.10/gdb/arm-linux-nat.c 2015-08-28 17:22:07.000000000 -0400 | |
3 | +++ ./gdb/arm-linux-nat.c 2015-08-29 08:06:52.000680658 -0400 | |
4 | @@ -34,7 +34,6 @@ | |
5 | #include <sys/user.h> | |
6 | #include <sys/ptrace.h> | |
7 | #include <sys/utsname.h> | |
8 | -#include <sys/procfs.h> | |
9 | ||
10 | #include "nat/linux-ptrace.h" | |
11 | ||
12 | @@ -63,6 +62,10 @@ | |
13 | #define PTRACE_SETHBPREGS 30 | |
14 | #endif | |
15 | ||
16 | +#ifdef __ANDROID__ | |
17 | +#define PT_GETFPREGS PTRACE_GETFPREGS | |
18 | +#endif | |
19 | + | |
20 | extern int arm_apcs_32; | |
21 | ||
22 | /* On GNU/Linux, threads are implemented as pseudo-processes, in which |