From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3639 invoked by alias); 14 Oct 2011 16:25:55 -0000 Received: (qmail 3623 invoked by uid 22791); 14 Oct 2011 16:25:50 -0000 X-SWARE-Spam-Status: No, hits=-6.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,SPF_HELO_PASS 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, 14 Oct 2011 16:25:36 +0000 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p9EGPZRM017340 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 14 Oct 2011 12:25:36 -0400 Received: from host1.jankratochvil.net (ovpn-116-16.ams2.redhat.com [10.36.116.16]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p9EGPX6W027049 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 14 Oct 2011 12:25:35 -0400 Received: from host1.jankratochvil.net (localhost [127.0.0.1]) by host1.jankratochvil.net (8.14.4/8.14.4) with ESMTP id p9EGPWfG001054; Fri, 14 Oct 2011 18:25:32 +0200 Received: (from jkratoch@localhost) by host1.jankratochvil.net (8.14.4/8.14.4/Submit) id p9EGPVfC001040; Fri, 14 Oct 2011 18:25:31 +0200 Date: Fri, 14 Oct 2011 16:47:00 -0000 From: Jan Kratochvil To: Aleksandar Ristovski Cc: gdb@sources.redhat.com, Mike Frysinger Subject: Re: working with split debug files and sectionless ELFs Message-ID: <20111014162531.GA978@host1.jankratochvil.net> References: <201110121335.56792.vapier@gentoo.org> <201110141127.18567.vapier@gentoo.org> <4E985776.5080002@qnx.com> <20111014154924.GA30442@host1.jankratochvil.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20111014154924.GA30442@host1.jankratochvil.net> 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: 2011-10/txt/msg00145.txt.bz2 On Fri, 14 Oct 2011 17:49:24 +0200, Jan Kratochvil wrote: > Using the ".debug" extension is too slow as the file needs to be checksummed > first. One should use /usr/lib/debug/.build-id/ instead. Still the argument > applies even /usr/lib/debug/.build-id/ is skipped without .debug_link. But > for /usr/lib/debug/.build-id/ you do not need to assume any ".debug" suffix. That's not true - one can check just the build-id note even if one finds it by the ".debug" suffix; just GDB currently does not do so. Although I do not think it is useful in any way - if build-id is already present it can be used for the filename as it prevents name clashes during multiple versions installed, moved files etc. Regards, Jan