gdb: Update from 7.12 to 7.12.1
[termux-packages] / packages / gdb / bfd-hosts-x86-64linux.h.patch
1 diff -u -r ../gdb-7.11.1/bfd/hosts/x86-64linux.h ./bfd/hosts/x86-64linux.h
2 --- ../gdb-7.11.1/bfd/hosts/x86-64linux.h 2016-02-09 22:19:39.000000000 -0500
3 +++ ./bfd/hosts/x86-64linux.h 2016-06-17 16:57:30.815715258 -0400
4 @@ -32,6 +32,15 @@
5 /* We define here only the symbols differing from their 64-bit variant. */
6 #include <sys/procfs.h>
7
8 +#ifdef __ANDROID__
9 +struct elf_siginfo {
10 + int si_signo;
11 + int si_code;
12 + int si_errno;
13 +};
14 +#define ELF_PRARGSZ (80)
15 +#endif
16 +
17 #ifdef HAVE_STDINT_H
18 #include <stdint.h>
19 #else