aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdb_bfd.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/gdb_bfd.c')
-rw-r--r--gdb/gdb_bfd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/gdb_bfd.c b/gdb/gdb_bfd.c
index 9227a6c..3765561 100644
--- a/gdb/gdb_bfd.c
+++ b/gdb/gdb_bfd.c
@@ -838,7 +838,7 @@ get_file_crc (bfd *abfd, unsigned long *file_crc_return)
gdb_byte buffer[8 * 1024];
bfd_size_type count;
- count = bfd_bread (buffer, sizeof (buffer), abfd);
+ count = bfd_read (buffer, sizeof (buffer), abfd);
if (count == (bfd_size_type) -1)
{
warning (_("Problem reading \"%s\" for CRC: %s"),