gdb/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Tue, 11 Oct 2011 12:58:08 +0000 (12:58 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Tue, 11 Oct 2011 12:58:08 +0000 (12:58 +0000)
commit904578edab299a982654a3ec01709097a6ed5661
treeb3a1b446a67e070122b91181cbf86aa3829566f9
parent51370a3384dd01bdb0e31816588a1fa74962c5ce
gdb/
Fix separate debuginfo warning with "remote:" access.
* objfiles.h (struct objfile): New fields crc32 and crc32_p.
* symfile.c (get_file_crc): New function with the code moved from ...
(separate_debug_file_exists): ... this function, specifically variables
buffer and count.  New variable verified_as_different, set it.  Remove
file_crc initialization.  Verify also if both files are not the same
manually, if needed.
gdb/ChangeLog
gdb/objfiles.h
gdb/symfile.c