This is the mail archive of the
archer@sourceware.org
mailing list for the Archer project.
Re: find-debuginfo.sh change for gdb index
- From: Tom Tromey <tromey at redhat dot com>
- To: Panu Matilainen <pmatilai at redhat dot com>
- Cc: Roland McGrath <roland at redhat dot com>, Project Archer <archer at sourceware dot org>
- Date: Tue, 06 Jul 2010 12:34:52 -0600
- Subject: Re: find-debuginfo.sh change for gdb index
- References: <m3vd91tqpl.fsf@fleche.redhat.com><20100629232147.C019548255@magilla.sf.frob.com><m3r5joscvs.fsf@fleche.redhat.com><20100630181436.518364C33C@magilla.sf.frob.com><m31vbos7lc.fsf@fleche.redhat.com> <m3y6dws151.fsf@fleche.redhat.com><20100630204424.3DCE34C33C@magilla.sf.frob.com><m3lj9wrz60.fsf@fleche.redhat.com><20100630221406.254AC4C33E@magilla.sf.frob.com><m339w1lkuu.fsf@fleche.redhat.com><alpine.LFD.2.00.1007051223290.8757@localhost>
>>>>> "Panu" == Panu Matilainen <pmatilai@redhat.com> 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