aboutsummaryrefslogtreecommitdiff
path: root/gdb/symfile.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-01-30 20:38:04 +0000
committerTom Tromey <tromey@redhat.com>2013-01-30 20:38:04 +0000
commit3bff1ecdba50002f6b35276808dd7833156e7c07 (patch)
treef4f1bfb947f529de78527e934202b5f8c104c62a /gdb/symfile.c
parent7d455152183df46b9ae4f97f3f880d67f99e308a (diff)
downloadgdb-3bff1ecdba50002f6b35276808dd7833156e7c07.zip
gdb-3bff1ecdba50002f6b35276808dd7833156e7c07.tar.gz
gdb-3bff1ecdba50002f6b35276808dd7833156e7c07.tar.bz2
* symfile.c (get_file_crc): Use bfd_calc_gnu_debuglink_crc32.
* utils.c (gnu_debuglink_crc32): Remove. * utils.h (gnu_debuglink_crc32): Don't declare.
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 2f87260..63bf329 100644
--- a/gdb/symfile.c
+++ b/gdb/symfile.c
@@ -1358,7 +1358,7 @@ get_file_crc (bfd *abfd, unsigned long *file_crc_return)
}
if (count == 0)
break;
- file_crc = gnu_debuglink_crc32 (file_crc, buffer, count);
+ file_crc = bfd_calc_gnu_debuglink_crc32 (file_crc, buffer, count);
}
*file_crc_return = file_crc;