debug/gdb: fix from upstream with newer glibc(siginfo vs siginfo_t, Gentoo gdb-7.4.1 patch)
This is for when you failed to build gdb-native with the error:
gdb-7.4.1/gdb/linux-nat.h:79:18: error: field 'siginfo' has incomplete type"
This is from mirror://gentoo/distfiles/gdb-7.4.1-patches-2.tar.xz
Signed-off-by: "Jang, Bongseo" <graycells@gmail.com>
[yann.morin.1998@free.fr: refresh ptrace_setsiginfo patch]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-ID: <4eef2edec3201c50b420.1348370891@localhost.localdomain>
PatchWork-ID: 186179
1 diff -dur strace-4.5.16.orig/process.c strace-4.5.16/process.c
2 --- strace-4.5.16.orig/process.c 2007-01-11 23:08:38.000000000 +0100
3 +++ strace-4.5.16/process.c 2007-07-14 19:19:58.000000000 +0200
5 { 4*REG_GBR, "4*REG_GBR" },
6 { 4*REG_MACH, "4*REG_MACH" },
7 { 4*REG_MACL, "4*REG_MACL" },
8 - { 4*REG_SYSCALL, "4*REG_SYSCALL" },
9 { 4*REG_FPUL, "4*REG_FPUL" },
10 { 4*REG_FPREG0, "4*REG_FPREG0" },
11 { 4*(REG_FPREG0+1), "4*REG_FPREG1" },