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 --- a/readline/complete.c
2 +++ b/readline/complete.c
7 +#ifdef HAVE_WCHAR_H /* wcwidth() */
12 #include <sys/types.h>
14 #if defined (HAVE_SYS_FILE_H)
15 --- a/readline/display.c
16 +++ b/readline/display.c
21 +#ifdef HAVE_WCHAR_H /* wcwidth() */
26 #include <sys/types.h>
28 #if defined (HAVE_UNISTD_H)
29 --- a/readline/mbutil.c
30 +++ b/readline/mbutil.c
35 +#ifdef HAVE_WCHAR_H /* wcwidth() */
40 #include <sys/types.h>