From abdabb0171c7eb00a285bd083d10e75d6e76e07a Mon Sep 17 00:00:00 2001 From: uweigand Date: Tue, 11 Oct 2011 19:00:18 +0000 Subject: [PATCH] * symfile.c (separate_debug_file_exists): Fix condition. --- gdb/ChangeLog | 4 ++++ gdb/symfile.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index e871fb17fd..802fd0fbae 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2011-10-11 Ulrich Weigand + + * symfile.c (separate_debug_file_exists): Fix condition. + 2011-10-11 David S. Miller * regcache.c (regcache_restore): Do not write unavailable regs, mark diff --git a/gdb/symfile.c b/gdb/symfile.c index 0939221b88..dfce380c2a 100644 --- a/gdb/symfile.c +++ b/gdb/symfile.c @@ -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); -- 2.11.0