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 libelf-0.8.10.orig/configure libelf-0.8.10/configure
2 --- libelf-0.8.10.orig/configure 2007-09-07 14:08:06.000000000 +0200
3 +++ libelf-0.8.10/configure 2008-10-23 22:43:19.000000000 +0200
5 echo $ac_n "(cached) $ac_c" 1>&6
7 if test "$cross_compiling" = yes; then
8 - ac_cv_sizeof_long_long=0
9 + ac_cv_sizeof_long_long=8
11 cat > conftest.$ac_ext <<EOF
12 #line 1602 "configure"
13 diff -dur libelf-0.8.10.orig/configure.in libelf-0.8.10/configure.in
14 --- libelf-0.8.10.orig/configure.in 2007-09-07 14:07:59.000000000 +0200
15 +++ libelf-0.8.10/configure.in 2008-10-23 22:43:10.000000000 +0200
17 AC_CHECK_SIZEOF(short,2)
18 AC_CHECK_SIZEOF(int,4)
19 AC_CHECK_SIZEOF(long,4)
20 -AC_CHECK_SIZEOF(long long,0)
21 +AC_CHECK_SIZEOF(long long,8)
23 AC_CHECK_SIZEOF(__int64, 0)