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 # This file adds the functions to build the GCC test suite
2 # Copyright 2010 DoréDevelopment
3 # Created by Martin Lund <mgl@doredevelopment.dk>
4 # Licensed under the GPL v2. See COPYING in the root of this package
6 do_test_suite_gcc_get() { :; }
7 do_test_suite_gcc_extract() { :; }
8 do_test_suite_gcc_build() { :; }
10 # Overide functions depending on configuration
11 if [ "${CT_TEST_SUITE_GCC}" = "y" ]; then
13 do_test_suite_gcc_build() {
15 CT_DoStep INFO "Installing GCC test suite"
17 CT_DoExecLog ALL mkdir -p "${CT_TEST_SUITE_DIR}/gcc"
18 CT_DoExecLog ALL cp -av "${CT_LIB_DIR}/contrib/gcc-test-suite/default.cfg" \
19 "${CT_LIB_DIR}/contrib/gcc-test-suite/Makefile" \
20 "${CT_LIB_DIR}/contrib/gcc-test-suite/README" \
21 "${CT_SRC_DIR}/gcc-${CT_CC_VERSION}/gcc/testsuite" \
22 "${CT_TEST_SUITE_DIR}/gcc"
24 CT_DoExecLog ALL sed -i -r -e "s/@@DG_TARGET@@/${CT_TARGET}/g;" \
25 "${CT_TEST_SUITE_DIR}/gcc/Makefile"
30 fi # CT_TEST_SUITE_GCC