This is the mail archive of the archer@sourceware.org mailing list for the Archer project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: find-debuginfo.sh change for gdb index


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]