aboutsummaryrefslogtreecommitdiff
path: root/gdb/symfile.c
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2011-10-11 19:00:22 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2011-10-11 19:00:22 +0000
commit0e8aefe7f01abedbb2e011e8b451ac6cfbc61ffe (patch)
treec0339542e386febe37e253e15dd05167d4173d90 /gdb/symfile.c
parent349d138559111de9e0ee57120e267005ac27cb6e (diff)
downloadgdb-0e8aefe7f01abedbb2e011e8b451ac6cfbc61ffe.zip
gdb-0e8aefe7f01abedbb2e011e8b451ac6cfbc61ffe.tar.gz
gdb-0e8aefe7f01abedbb2e011e8b451ac6cfbc61ffe.tar.bz2
* symfile.c (separate_debug_file_exists): Fix condition.
Diffstat (limited to 'gdb/symfile.c')
-rw-r--r--gdb/symfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/symfile.c b/gdb/symfile.c
index 0939221..dfce380 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);