mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 01:07:52 +00:00
gdb/
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.
This commit is contained in:
@@ -245,6 +245,11 @@ struct objfile
|
||||
|
||||
long mtime;
|
||||
|
||||
/* Cached 32-bit CRC as computed by gnu_debuglink_crc32. CRC32 is valid
|
||||
iff CRC32_P. */
|
||||
unsigned long crc32;
|
||||
int crc32_p;
|
||||
|
||||
/* Obstack to hold objects that should be freed when we load a new symbol
|
||||
table from this object file. */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user