From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31337 invoked by alias); 14 Oct 2011 17:29:26 -0000 Received: (qmail 31327 invoked by uid 22791); 14 Oct 2011 17:29:25 -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 17:29:10 +0000 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p9EHTAbP005514 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 14 Oct 2011 13:29:10 -0400 Received: from host1.jankratochvil.net (ovpn-116-16.ams2.redhat.com [10.36.116.16]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id p9EHT8C0006089 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 14 Oct 2011 13:29:09 -0400 Received: from host1.jankratochvil.net (localhost [127.0.0.1]) by host1.jankratochvil.net (8.14.4/8.14.4) with ESMTP id p9EHT7DA005466; Fri, 14 Oct 2011 19:29:07 +0200 Received: (from jkratoch@localhost) by host1.jankratochvil.net (8.14.4/8.14.4/Submit) id p9EHT7fd005465; Fri, 14 Oct 2011 19:29:07 +0200 Date: Fri, 14 Oct 2011 17:31:00 -0000 From: Jan Kratochvil To: Mike Frysinger Cc: Aleksandar Ristovski , gdb@sources.redhat.com Subject: Re: working with split debug files and sectionless ELFs Message-ID: <20111014172907.GB4939@host1.jankratochvil.net> References: <201110121335.56792.vapier@gentoo.org> <4E985776.5080002@qnx.com> <20111014154924.GA30442@host1.jankratochvil.net> <201110141307.54843.vapier@gentoo.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201110141307.54843.vapier@gentoo.org> 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/msg00152.txt.bz2 On Fri, 14 Oct 2011 19:07:53 +0200, Mike Frysinger wrote: > that's why it was a hack. i think it reasonable that if there is no debug > info to first look for the file name itself, and then look for the file name with > a .debug suffix. The debug files without any suffix are IMO problematic, there was already at least a second patch to deal with it and it has performance issues: [patch] Verify byte-by-byte if both files are the same on "remote:" [Re: [rfc] False separate debuginfo warning with "remote:" access] http://sourceware.org/ml/gdb-patches/2011-10/msg00254.html build-id should be the first one tried, it is already tried if .debug_link exists so why to break it for the non-.debug_link case. If build-id does not exist I do not mind much how many ineffective fallbacks in which order get implemented. Regards, Jan