1From cfdbf4fd19eee2be6cc1bc53bd13d331338b313a Mon Sep 17 00:00:00 2001 2From: David 'Digit' Turner <digit@android.com> 3Date: Fri, 20 Apr 2012 15:52:33 +0200 4Subject: ndk: Fix missing files checking in gdbserver 7.1.x 5 6Change-Id: Idcb61f937b63f3af0f1bedf8d7d499d29f98a9dd 7--- 8 gdb-7.1.x/gdb/gdbserver/linux-x86-low.c | 6 ++++++ 9 1 files changed, 6 insertions(+), 0 deletions(-) 10 11diff --git a/gdb-7.1.x/gdb/gdbserver/linux-x86-low.c b/gdb-7.1.x/gdb/gdbserver/linux-x86-low.c 12index 0062432..6793f23 100644 13--- a/gdb-7.1.x/gdb/gdbserver/linux-x86-low.c 14+++ b/gdb-7.1.x/gdb/gdbserver/linux-x86-low.c 15@@ -32,8 +32,14 @@ void init_registers_i386_linux (void); 16 /* Defined in auto-generated file reg-x86-64-linux.c. */ 17 void init_registers_x86_64_linux (void); 18 19+#ifdef HAVE_SYS_REG_H 20 #include <sys/reg.h> 21+#endif 22+ 23+#ifdef HAVE_SYS_PROCFS_H 24 #include <sys/procfs.h> 25+#endif 26+ 27 #include <sys/ptrace.h> 28 29 #ifndef PTRACE_GET_THREAD_AREA 30-- 311.7.6.rc0 32 33