This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB 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: [3/4] RFC: add DWARF index support


>>>>> "Jan" == Jan Kratochvil <jan.kratochvil@redhat.com> writes:

Tom> One idea would be to store the build-id and only verify it if the
Tom> objfile has a .note.gnu.build-id section.

Jan> Good point, I find .gdb-index file should have exactly the same
Jan> verification rules as the .debug file has.  (That is crc32 if
Jan> build-id is not available.)

I am not sure about the CRC thing.  That would result in a needless
slowdown.  It might be faster to just read psymtabs after all.

Tom


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