Initial push
[termux-packages] / packages / gdb / i386-linux-nat.c.patch
1 diff -u -r ../gdb-7.9/gdb/i386-linux-nat.c ./gdb/i386-linux-nat.c
2 --- ../gdb-7.9/gdb/i386-linux-nat.c 2015-02-19 06:58:07.000000000 -0500
3 +++ ./gdb/i386-linux-nat.c 2015-03-17 18:14:06.728805213 -0400
4 @@ -35,6 +35,11 @@
5
6 #include "x86-linux-nat.h"
7
8 +#ifdef __ANDROID__
9 +#include <sys/ucontext.h>
10 +typedef fpregset_t elf_fpxregset_t;
11 +#endif
12 +
13 /* The register sets used in GNU/Linux ELF core-dumps are identical to
14 the register sets in `struct user' that is used for a.out
15 core-dumps, and is also used by `ptrace'. The corresponding types