aboutsummaryrefslogtreecommitdiff
path: root/gdb/somread.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2001-09-20 03:03:40 +0000
committerAlan Modra <amodra@gmail.com>2001-09-20 03:03:40 +0000
commit3a42e9d0622736d6ad84c37a2d4f4f54a0c30469 (patch)
tree46b6e47111b8b25da564e47bbe2cac0b0d8bdaa3 /gdb/somread.c
parent6bac1f11325a9debaf36f471dec1f93b839001b7 (diff)
downloadgdb-3a42e9d0622736d6ad84c37a2d4f4f54a0c30469.zip
gdb-3a42e9d0622736d6ad84c37a2d4f4f54a0c30469.tar.gz
gdb-3a42e9d0622736d6ad84c37a2d4f4f54a0c30469.tar.bz2
* coffread.c: Replace all occurrences of bfd_read with bfd_bread.
* dbxread.c: Likewise. * dwarf2read.c: Likewise. * dwarfread.c: Likewise. * somread.c: Likewise. * ultra3-nat.c: Likewise. * xcoffread.c: Likewise.
Diffstat (limited to 'gdb/somread.c')
-rw-r--r--gdb/somread.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/somread.c b/gdb/somread.c
index be41501..5afb15c 100644
--- a/gdb/somread.c
+++ b/gdb/somread.c
@@ -1,5 +1,5 @@
/* Read HP PA/Risc object files for GDB.
- Copyright 1991, 1992, 1994, 1995, 1996, 1998, 1999, 2000
+ Copyright 1991, 1992, 1994, 1995, 1996, 1998, 1999, 2000, 2001
Free Software Foundation, Inc.
Written by Fred Fish at Cygnus Support.
@@ -101,13 +101,13 @@ som_symtab_read (bfd *abfd, struct objfile *objfile,
buf = alloca (symsize * number_of_symbols);
bfd_seek (abfd, obj_som_sym_filepos (abfd), SEEK_SET);
- val = bfd_read (buf, symsize * number_of_symbols, 1, abfd);
+ val = bfd_bread (buf, symsize * number_of_symbols, abfd);
if (val != symsize * number_of_symbols)
error ("Couldn't read symbol dictionary!");
stringtab = alloca (obj_som_stringtab_size (abfd));
bfd_seek (abfd, obj_som_str_filepos (abfd), SEEK_SET);
- val = bfd_read (stringtab, obj_som_stringtab_size (abfd), 1, abfd);
+ val = bfd_bread (stringtab, obj_som_stringtab_size (abfd), abfd);
if (val != obj_som_stringtab_size (abfd))
error ("Can't read in HP string table.");