chiark / gitweb /
gdb: Update 7.10 to 7.11 and NDK r11 compatibility
[termux-packages] / packages / gdb / gdb-arm-linux-nac.c.patch
1 diff -u -r ../gdb-7.10/gdb/arm-linux-nat.c ./gdb/arm-linux-nat.c
2 --- ../gdb-7.10/gdb/arm-linux-nat.c     2015-08-28 17:22:07.000000000 -0400
3 +++ ./gdb/arm-linux-nat.c       2015-08-29 08:06:52.000680658 -0400
4 @@ -63,6 +62,10 @@
5  #define PTRACE_SETHBPREGS 30
6  #endif
7  
8 +#ifdef __ANDROID__
9 +#define PT_GETFPREGS PTRACE_GETFPREGS
10 +#endif
11 +
12  extern int arm_apcs_32;
13  
14  /* On GNU/Linux, threads are implemented as pseudo-processes, in which