This is the mail archive of the
mailing list for the GDB project.
Re: [patch] Verify byte-by-byte if both files are the same on "remote:" [Re: [rfc] False separate debuginfo warning with "remot
On Mon, 10 Oct 2011 23:23:28 +0200, Ulrich Weigand wrote:
> Jan Kratochvil wrote:
> > gdb/
> > 2011-10-10 Jan Kratochvil <firstname.lastname@example.org>
> > 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.
> Looks good to me.