Disable stabs reading on ppc64-linux; it always segfaults.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11858
This commit is contained in:
Julian Seward 2011-07-06 07:23:56 +00:00
parent b852d4ed5a
commit 0c769dd228

View File

@ -2319,9 +2319,12 @@ Bool ML_(read_elf_debug_info) ( struct _DebugInfo* di )
/* Read the stabs and/or dwarf2 debug information, if any. It
appears reading stabs stuff on amd64-linux doesn't work, so
we ignore it. On s390x stabs also doesnt work and we always
have the dwarf info in the eh_frame. */
# if !defined(VGP_amd64_linux) && !defined(VGP_s390x_linux)
we ignore it. On s390x stabs also doesnt work and we always
have the dwarf info in the eh_frame. We also segfault on
ppc64-linux when reading stabs, so skip that. ppc32-linux
seems OK though. */
# if !defined(VGP_amd64_linux) && !defined(VGP_s390x_linux) \
&& !defined(VGP_ppc64_linux)
if (stab_img && stabstr_img) {
ML_(read_debuginfo_stabs) ( di, stab_img, stab_sz,
stabstr_img, stabstr_sz );