From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4125 invoked by alias); 6 Jul 2010 18:35:03 -0000 Mailing-List: contact archer-help@sourceware.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Subscribe: List-Id: Received: (qmail 4115 invoked by uid 22791); 6 Jul 2010 18:35:03 -0000 X-SWARE-Spam-Status: No, hits=-6.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org From: Tom Tromey To: Panu Matilainen Cc: Roland McGrath , Project Archer Subject: Re: find-debuginfo.sh change for gdb index References: <20100629232147.C019548255@magilla.sf.frob.com> <20100630181436.518364C33C@magilla.sf.frob.com> <20100630204424.3DCE34C33C@magilla.sf.frob.com> <20100630221406.254AC4C33E@magilla.sf.frob.com> Date: Tue, 06 Jul 2010 18:35:00 -0000 In-Reply-To: (Panu Matilainen's message of "Mon, 5 Jul 2010 12:36:32 +0300 (EEST)") 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-q3/txt/msg00007.txt.bz2 >>>>> "Panu" == Panu Matilainen writes: Panu> So it would be this patch, right? Yes. Panu> Is the necessary patch(es) already in rawhide gdb, I dont see anything Panu> obviously related in gdb changelogs? Yeah, it is still under discussion upstream. One thing that came up is that the current approach of using file size+mtime to determine whether the index is valid is not super. Two competing ideas: 1. Put the build-id into the index file, then verify it. 2. Require the index to be a section in the ELF object. This has the nice property that no validation need be done. However, it would require a further tweak to find-debuginfo.sh. Any comments? I would like to resolve this ASAP. Tom