aboutsummaryrefslogtreecommitdiff
path: root/bfd/aix5ppc-core.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2002-05-15 13:47:12 +0000
committerNick Clifton <nickc@redhat.com>2002-05-15 13:47:12 +0000
commitd1e66cd4a44fed3ffe0f20fa121d06f709a6d99d (patch)
treed1df18d157b9222bad2484c7c4088a3bf8384d11 /bfd/aix5ppc-core.c
parenta6cdd8c5f6133c63df3f90cd56f0287433e4fe66 (diff)
downloadgdb-d1e66cd4a44fed3ffe0f20fa121d06f709a6d99d.zip
gdb-d1e66cd4a44fed3ffe0f20fa121d06f709a6d99d.tar.gz
gdb-d1e66cd4a44fed3ffe0f20fa121d06f709a6d99d.tar.bz2
Replace bfd_read with bfd_bread.
Diffstat (limited to 'bfd/aix5ppc-core.c')
-rw-r--r--bfd/aix5ppc-core.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/bfd/aix5ppc-core.c b/bfd/aix5ppc-core.c
index 12f4917..9db4f54 100644
--- a/bfd/aix5ppc-core.c
+++ b/bfd/aix5ppc-core.c
@@ -63,7 +63,7 @@ xcoff64_core_p (abfd)
goto xcoff64_core_p_error;
if (sizeof (struct core_dumpxx)
- != bfd_read (&core, sizeof (struct core_dumpxx), 1, abfd))
+ != bfd_bread (&core, sizeof (struct core_dumpxx), abfd))
goto xcoff64_core_p_error;
if (bfd_stat (abfd, &statbuf) < 0)
@@ -172,7 +172,7 @@ xcoff64_core_p (abfd)
return return_value;
if (sizeof (struct __ld_info64) !=
- bfd_read (&ldinfo, sizeof (struct __ld_info64), 1, abfd))
+ bfd_bread (&ldinfo, sizeof (struct __ld_info64), abfd))
return return_value;
if (ldinfo.ldinfo_core)
@@ -200,7 +200,7 @@ xcoff64_core_p (abfd)
for (i = 0; i < core.c_vmregions; i++)
if (sizeof (struct vm_infox) !=
- bfd_read (&vminfo, sizeof (struct vm_infox), 1, abfd))
+ bfd_bread (&vminfo, sizeof (struct vm_infox), abfd))
return return_value;
if (vminfo.vminfo_offset)
@@ -243,7 +243,7 @@ xcoff64_core_file_matches_executable_p (core_bfd, exec_bfd)
return return_value;
if (sizeof (struct core_dumpxx) !=
- bfd_read (&core, sizeof (struct core_dumpxx), 1, core_bfd))
+ bfd_bread (&core, sizeof (struct core_dumpxx), core_bfd))
return return_value;
if (bfd_seek (core_bfd, core.c_loader, SEEK_SET) != 0)
@@ -258,7 +258,7 @@ xcoff64_core_file_matches_executable_p (core_bfd, exec_bfd)
while (1)
{
- if (bfd_read (s, 1, 1, core_bfd) != 1)
+ if (bfd_bread (s, 1, core_bfd) != 1)
goto xcoff64_core_file_matches_executable_p_end_1;
if (*s == '\0')