]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Disable stabs reading on ppc64-linux; it always segfaults.
authorJulian Seward <jseward@acm.org>
Wed, 6 Jul 2011 07:23:56 +0000 (07:23 +0000)
committerJulian Seward <jseward@acm.org>
Wed, 6 Jul 2011 07:23:56 +0000 (07:23 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11858

coregrind/m_debuginfo/readelf.c

index e78bb1efc221f4ddff399862d8e616944e16a0ad..c38af40e9ff0b180cc71b970239634ed974ca183 100644 (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 );