From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25512 invoked by alias); 30 Jun 2010 17:35:01 -0000 Mailing-List: contact archer-help@sourceware.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Subscribe: List-Id: Received: (qmail 25176 invoked by uid 22791); 30 Jun 2010 17:34:59 -0000 X-SWARE-Spam-Status: No, hits=-5.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,TW_YM,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org From: Tom Tromey To: Roland McGrath Cc: Project Archer , pmatilai@redhat.com Subject: Re: find-debuginfo.sh change for gdb index References: <20100629232147.C019548255@magilla.sf.frob.com> Reply-To: Tom Tromey Date: Wed, 30 Jun 2010 17:35:00 -0000 In-Reply-To: <20100629232147.C019548255@magilla.sf.frob.com> (Roland McGrath's message of "Tue, 29 Jun 2010 16:21:47 -0700 (PDT)") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2010-q2/txt/msg00064.txt.bz2 >>>>> "Roland" == Roland McGrath writes: Roland> I don't quite understand what file this writes to. Roland> Is it implicitly ".index" in the argument directory? Yes. Roland> IMHO, the file name should have "gdb" in the name. Roland> This is really not any very generic sort of index for the information. Ok. What do you think of just ".gdb as the suffix? >> + if [ -f "${debugfn}.index" ]; then >> + make_id_link "$id" "/usr/lib/debug$dn/$bn" .debug >> + fi Roland> What's this for? It just repeats the work of making and recording the Roland> build-id symlink to the .debug file. Unless you're being quite subtle Roland> somehow I've missed, this doesn't do anything with the index file. Roland> Do you mean something like: Roland> make_id_link "$id" "/usr/lib/debug$dn/$bn" .index Roland> ? That gets you a /usr/lib/debug/.build-id/xx/yyy.index symlink Roland> to ../../usr/bin/foobar.index for example. Yeah, oops. I will fix this. Tom