You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

22 lines
578 B

diff -u -r ../gdb-7.10/gdb/arm-linux-nat.c ./gdb/arm-linux-nat.c
--- ../gdb-7.10/gdb/arm-linux-nat.c 2015-08-28 17:22:07.000000000 -0400
+++ ./gdb/arm-linux-nat.c 2015-08-29 08:06:52.000680658 -0400
@@ -34,7 +34,6 @@
#include <sys/user.h>
#include <sys/ptrace.h>
#include <sys/utsname.h>
-#include <sys/procfs.h>
#include "nat/linux-ptrace.h"
@@ -63,6 +62,10 @@
#define PTRACE_SETHBPREGS 30
#endif
+#ifdef __ANDROID__
+#define PT_GETFPREGS PTRACE_GETFPREGS
+#endif
+
extern int arm_apcs_32;
/* On GNU/Linux, threads are implemented as pseudo-processes, in which