termux-packages/packages/gdb/gdb-arm-linux-nac.c.patch

15 lines
426 B
Diff
Raw Normal View History

2015-08-29 15:41:55 +02:00
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
@@ -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