command-not-found: Update with new executables
[termux-packages] / packages / gdb / x86-linux-nat.c.patch
CommitLineData
59f0d218
FF
1diff -u -r ../gdb-7.9/gdb/x86-linux-nat.c ./gdb/x86-linux-nat.c
2--- ../gdb-7.9/gdb/x86-linux-nat.c 2015-02-20 12:11:44.000000000 -0500
3+++ ./gdb/x86-linux-nat.c 2015-03-17 18:20:50.044805492 -0400
4@@ -23,7 +23,6 @@
5 #include "gdb_proc_service.h"
6 #include <sys/ptrace.h>
7 #include <sys/user.h>
8-#include <sys/procfs.h>
9 #include <sys/uio.h>
10
11 #include "x86-nat.h"
12@@ -39,6 +38,11 @@
13 #include "x86-xstate.h"
14 #include "nat/linux-btrace.h"
15
16+#ifdef __ANDROID__
17+#include <sys/ucontext.h>
18+typedef fpregset_t elf_fpxregset_t;
19+#endif
20+
21 /* Per-thread arch-specific data we want to keep. */
22
23 struct arch_lwp_info