|
From: <sv...@va...> - 2011-07-06 07:28:46
|
Author: sewardj
Date: 2011-07-06 08:23:56 +0100 (Wed, 06 Jul 2011)
New Revision: 11858
Log:
Disable stabs reading on ppc64-linux; it always segfaults.
Modified:
trunk/coregrind/m_debuginfo/readelf.c
Modified: trunk/coregrind/m_debuginfo/readelf.c
===================================================================
--- trunk/coregrind/m_debuginfo/readelf.c 2011-07-05 10:20:44 UTC (rev 11857)
+++ trunk/coregrind/m_debuginfo/readelf.c 2011-07-06 07:23:56 UTC (rev 11858)
@@ -2319,9 +2319,12 @@
/* 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 );
|