[patch] Verify byte-by-byte if both files are the same on "remote:" [Re: [rfc] False separate debuginfo warning with "remot
Jan Kratochvil
jan.kratochvil@redhat.com
Tue Oct 11 12:58:00 GMT 2011
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
More information about the Gdb-patches
mailing list