* symfile.c (separate_debug_file_exists): Fix condition.

This commit is contained in:
Ulrich Weigand 2011-10-11 19:00:22 +00:00
parent 349d138559
commit 0e8aefe7f0
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2011-10-11 Ulrich Weigand <ulrich.weigand@linaro.org>
* symfile.c (separate_debug_file_exists): Fix condition.
2011-10-11 David S. Miller <davem@davemloft.net>
* regcache.c (regcache_restore): Do not write unavailable regs, mark

View File

@ -1418,7 +1418,7 @@ separate_debug_file_exists (const char *name, unsigned long crc,
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);