Re: [patch] Verify byte-by-byte if both files are the same on "remote:" [Re: [rfc] False separate debuginfo warning with "remot

Jan Kratochvil
2011-10-11T12:58:48Z

On Mon, 10 Oct 2011 23:23:28 +0200, Ulrich Weigand wrote:
> Jan Kratochvil wrote:
> > gdb/
> > 2011-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
> >
> > 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.

Checked in:
http://sourceware.org/ml/gdb-cvs/2011-10/msg00085.html

Thanks,
Jan