From: Julian Seward Date: Wed, 6 Jul 2011 07:23:56 +0000 (+0000) Subject: Disable stabs reading on ppc64-linux; it always segfaults. X-Git-Tag: svn/VALGRIND_3_7_0~379 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0c769dd228b40d4a49fa62f6e3cc1f6fc6907def;p=thirdparty%2Fvalgrind.git Disable stabs reading on ppc64-linux; it always segfaults. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11858 --- diff --git a/coregrind/m_debuginfo/readelf.c b/coregrind/m_debuginfo/readelf.c index e78bb1efc2..c38af40e9f 100644 --- a/coregrind/m_debuginfo/readelf.c +++ b/coregrind/m_debuginfo/readelf.c @@ -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 );