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 # Makefile for the scripts/ sub-directory
3 # Here, we can update the config.* scripts.
4 # If we're in CT_LIB_DIR, then CT_LIB_DIR == CT_TOP_DIR, and we can update those
5 # scripts for later inclusion mainline. If CT_LIB_DIR != CT_TOP_DIR, then those
6 # scripts are downloaded only for use in CT_TOP_DIR.
8 # ----------------------------------------------------------
12 @echo ' updatetools - Update the config tools'
14 # ----------------------------------------------------------
15 # Where to get tools from, and where to store them into
16 # The tools are: config.guess and config.sub
18 CONFIG_SUB_SRC="http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD"
19 CONFIG_SUB_DEST=scripts/config.sub
20 CONFIG_GUESS_SRC="http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD"
21 CONFIG_GUESS_DEST=scripts/config.guess
24 updatetools: $(CONFIG_SUB_DEST) $(CONFIG_GUESS_DEST)
26 # ----------------------------------------------------------
27 # How to retrieve the tools
30 ifeq ($(strip $(V)),2)
39 $(CONFIG_SUB_DEST): scripts FORCE
41 $(SILENT)wget $(wget_opt) -O $@ $(CONFIG_SUB_SRC)
42 $(SILENT)chmod u+rwx,go+rx-w $@
44 $(CONFIG_GUESS_DEST): scripts FORCE
46 $(SILENT)wget $(wget_opt) -O $@ $(CONFIG_GUESS_SRC)
47 $(SILENT)chmod u+rwx,go+rx-w $@
49 # ----------------------------------------------------------
53 @$(ECHO) " CLEAN scripts"
54 $(SILENT)[ $(CT_TOP_DIR) = $(CT_LIB_DIR) ] || rm -rf $(CT_TOP_DIR)/scripts