From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23367 invoked by alias); 10 Nov 2009 18:24:07 -0000 Received: (qmail 23359 invoked by uid 22791); 10 Nov 2009 18:24:06 -0000 X-SWARE-Spam-Status: No, hits=0.4 required=5.0 tests=AWL,BAYES_00,SPF_PASS,TVD_RCVD_IP X-Spam-Check-By: sourceware.org Received: from 207-172-212-176.c3-0.smr-ubr2.sbo-smr.ma.static.cable.rcn.com (HELO torpor.static.net) (207.172.212.176) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 10 Nov 2009 18:24:01 +0000 Received: from ita4fw1.itasoftware.com ([63.107.91.99] helo=jknight.internal.itasoftware.com) by torpor.static.net with esmtpa (Exim 4.69) (envelope-from ) id 1N7vNl-0005cc-00; Tue, 10 Nov 2009 13:23:58 -0500 Subject: Re: Troubles with debug info, using systemtap on debian. Mime-Version: 1.0 (Apple Message framework v1076) Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes From: James Y Knight In-Reply-To: Date: Tue, 10 Nov 2009 18:24:00 -0000 Cc: Eugeniy Meshcheryakov , systemtap@sourceware.org Content-Transfer-Encoding: 7bit Message-Id: <09848B55-4B13-4652-B493-AADB8B31C77C@fuhm.net> References: <20091110093254.GA3190@localhost.localdomain> To: Frank Ch. Eigler X-Spam-Score: -10.0 X-Spam-Report: ALL_TRUSTED=-10 X-IsSubscribed: yes Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org X-SW-Source: 2009-q4/txt/msg00484.txt.bz2 On Nov 10, 2009, at 1:07 PM, Frank Ch. Eigler wrote: > Eugeniy Meshcheryakov writes: > >> [...] >>> 3) The debian kernel's debuginfo does "objcopy --only-keep- >>> debug"...That seems like it shouldn't cause systemtap to blow up, >>> but it does. I guess that's a known bug? [...] >>> 5) Whose bug is it that systemtap doesn't look for >>> /usr/lib/debug/.../autofs4.ko, but only autofs4.ko.debug? >>> [...] > > The issue here is that elfutils looks for .ko.debug files, if the > original .ko was stripped of debug data. The fedora naming convention > communicates the fact that the separated .ko.debug files are not > .ko's, in that they lack executable .text/.data/etc. payload. > > Some distributions don't strip the debug data the same way as fedora, > but instead preserve the original unstripped binaries under > /usr/lib/debug or similar. In this case, since the original files are > complete, it makes sense not to rename them "anything.debug", but OTOH > then elfutils must break the tie between that copy and an identically > named stripped one. Debian preserves only the debug info in /usr/lib/debug, with objcopy -- only-keep-debug. So, the files are generally not complete. But, they are named "anything", not "anything.debug". James