From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10932 invoked by alias); 16 Mar 2012 18:48:51 -0000 Received: (qmail 10907 invoked by uid 22791); 16 Mar 2012 18:48:49 -0000 X-SWARE-Spam-Status: No, hits=-6.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 16 Mar 2012 18:48:37 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q2GImZ1p011422 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 16 Mar 2012 14:48:35 -0400 Received: from host2.jankratochvil.net (ovpn-116-16.ams2.redhat.com [10.36.116.16]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q2GImV00002005 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Fri, 16 Mar 2012 14:48:34 -0400 Date: Fri, 16 Mar 2012 18:48:00 -0000 From: Jan Kratochvil To: John Gilmore Cc: gdb@sourceware.org, Martin Langhoff Subject: Re: Reading dynamic symbols from Linux core files? Message-ID: <20120316184831.GA32437@host2.jankratochvil.net> References: <201203161838.q2GIceWD010681@new.toad.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201203161838.q2GIceWD010681@new.toad.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2012-03/txt/msg00043.txt.bz2 On Fri, 16 Mar 2012 19:38:40 +0100, John Gilmore wrote: > Martin and Jan Kratochvil are currently chasing a problem with finding > and getting "debug symbol" packages in Fedora 14 There may be some prelink related problem but I have no more ideas: http://lists.fedoraproject.org/pipermail/devel/2012-March/164047.html > I'm not sure exactly where in the code it should be trying to find the > dynamic symbol table from the core file and extracting the symbols from it. gdb/symfile-mem.c bfd/elfcode.h NAME(_bfd_elf,bfd_from_remote_memory) The problem usually was - at least in some Fedoras + RHELs - that vDSO has overgrown 4KB. The loadable segment remained in the first 4KB part but debugging symbols spanned more pages which led to bfd_from_remote_memory cutting off the debug symbols. Recent Fedora patch for it is: http://pkgs.fedoraproject.org/gitweb/?p=gdb.git;a=blob_plain;f=gdb-6.6-bfd-vdso8k.patch;hb=master Regards, Jan