diff mbox

[commit] Fix condition (Re: [patch] Verify byte-by-byte if both files are the same on "remote:")

Message ID 201110111931.p9BJVuCY001696@d06av02.portsmouth.uk.ibm.com
State Accepted
Headers show

Commit Message

Ulrich Weigand Oct. 11, 2011, 7:31 p.m. UTC
http://sourceware.org/ml/gdb-patches/2011-10/msg00324.html

ChangeLog:

	* symfile.c (separate_debug_file_exists): Fix condition.
diff mbox

Patch

Index: gdb/symfile.c
===================================================================
RCS file: /cvs/src/src/gdb/symfile.c,v
retrieving revision 1.318
diff -u -p -r1.318 symfile.c
--- gdb/symfile.c	11 Oct 2011 12:58:08 -0000	1.318
+++ gdb/symfile.c	11 Oct 2011 18:33:12 -0000
@@ -1418,7 +1418,7 @@  separate_debug_file_exists (const char *
 	    return 0;
 	}
 
-      if (verified_as_different || parent_objfile->crc32 != crc)
+      if (verified_as_different || parent_objfile->crc32 != file_crc)
 	warning (_("the debug information found in \"%s\""
 		   " does not match \"%s\" (CRC mismatch).\n"),
 		 name, parent_objfile->name);