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 -ru eglibc-2_9_orig/sysdeps/powerpc/powerpc32/memset.S eglibc-2_9/sysdeps/powerpc/powerpc32/memset.S
2 --- eglibc-2_9_orig/sysdeps/powerpc/powerpc32/memset.S 2007-04-13 08:35:45.000000000 -0700
3 +++ eglibc-2_9/sysdeps/powerpc/powerpc32/memset.S 2009-05-06 16:52:04.000000000 -0700
5 clrrwi. rALIGN, rLEN, 5
6 mtcrf 0x01, rLEN /* 40th instruction from .align */
8 +#ifndef BROKEN_PPC_8xx_CPU15
9 /* Check if we can use the special case for clearing memory using dcbz.
10 This requires that we know the correct cache line size for this
11 processor. Getting the __cache_line_size may require establishing GOT
12 addressability, so branch out of line to set this up. */
13 beq cr1, L(checklinesize)
16 /* Store blocks of 32-bytes (256-bits) starting on a 32-byte boundary.
17 Can't assume that rCHR is zero or that the cache line size is either
19 add rMEMP, rMEMP, rALIGN
20 b L(medium_tail2) /* 72nd instruction from .align */
22 +#ifndef BROKEN_PPC_8xx_CPU15
25 /* Clear cache lines of memory in 128-byte chunks.
30 +#endif /* ! BROKEN_PPC_8xx_CPU15 */
38 +#ifndef BROKEN_PPC_8xx_CPU15
44 clrrwi. rALIGN, rLEN, 5
46 +#endif /* ! BROKEN_PPC_8xx_CPU15 */
49 libc_hidden_builtin_def (memset)