diff options
author | Alan Modra <amodra@bigpond.net.au> | 2001-09-20 03:03:40 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2001-09-20 03:03:40 +0000 |
commit | 7aecf70ee6d9e4cb9ac7bee9f1acee04db1f5075 (patch) | |
tree | edf2635f4544d0a8185b6841d4cb237a073d74ee /gdb/somread.c | |
parent | 5b333c35a66bee671b7763314b030191d62b3f48 (diff) | |
download | gdb-7aecf70ee6d9e4cb9ac7bee9f1acee04db1f5075.tar.gz |
* 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.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/somread.c b/gdb/somread.c index be41501fa09..5afb15c09bb 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."); |