From 0c769dd228b40d4a49fa62f6e3cc1f6fc6907def Mon Sep 17 00:00:00 2001 From: Julian Seward Date: Wed, 6 Jul 2011 07:23:56 +0000 Subject: [PATCH] Disable stabs reading on ppc64-linux; it always segfaults. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11858 --- coregrind/m_debuginfo/readelf.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) 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 ); -- 2.47.3