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 (C) 2007 Yann E. MORIN <yann.morin.1998@anciens.enib.fr>
4 Shut off a stupid warning: preffered-stack-boundary must be between 4 ad 12,
7 diff -dur glibc-2.5.orig/sysdeps/i386/Makefile glibc-2.5/sysdeps/i386/Makefile
8 --- glibc-2.5.orig/sysdeps/i386/Makefile 2005-03-06 01:18:16.000000000 +0100
9 +++ glibc-2.5/sysdeps/i386/Makefile 2007-05-27 17:49:37.000000000 +0200
12 sysdep-CFLAGS += -mpreferred-stack-boundary=4
14 -sysdep-CFLAGS += -mpreferred-stack-boundary=2
15 +sysdep-CFLAGS += -mpreferred-stack-boundary=4
16 # Likewise, any function which calls user callbacks
17 uses-callbacks += -mpreferred-stack-boundary=4
18 # Likewise, any stack alignment tests