diff options
author | Stan Shebs <shebs@codesourcery.com> | 1995-10-19 19:54:44 +0000 |
---|---|---|
committer | Stan Shebs <shebs@codesourcery.com> | 1995-10-19 19:54:44 +0000 |
commit | 987622b523bff105af2ebdfb33ef7c4c99b03def (patch) | |
tree | 797d177106419c7342998cd1e7fbb542d164303d /gdb/somread.c | |
parent | c24ce5e2323d93477d3503beccb88e3054bbda39 (diff) | |
download | gdb-987622b523bff105af2ebdfb33ef7c4c99b03def.zip gdb-987622b523bff105af2ebdfb33ef7c4c99b03def.tar.gz gdb-987622b523bff105af2ebdfb33ef7c4c99b03def.tar.bz2 |
* Makefile.in (CC-LD): Rename to CC_LD, so MPW xform works.
(MMALLOC_SRC): Define.
(MMALLOC_CFLAGS): Use.
(ser-mac.o): Add rule.
* dwarfread.c, somread.c, ultra3-nat.c, xcoffread.c: Replace L_SET
with SEEK_SET in all calls to bfd_seek.
* scm-tags.h (scm_tags): Remove excess comma.
Diffstat (limited to 'gdb/somread.c')
-rw-r--r-- | gdb/somread.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/somread.c b/gdb/somread.c index 1837da8..522b6b5 100644 --- a/gdb/somread.c +++ b/gdb/somread.c @@ -112,13 +112,13 @@ som_symtab_read (abfd, objfile, section_offsets) number_of_symbols = bfd_get_symcount (abfd); buf = alloca (symsize * number_of_symbols); - bfd_seek (abfd, obj_som_sym_filepos (abfd), L_SET); + bfd_seek (abfd, obj_som_sym_filepos (abfd), SEEK_SET); val = bfd_read (buf, symsize * number_of_symbols, 1, 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), L_SET); + bfd_seek (abfd, obj_som_str_filepos (abfd), SEEK_SET); val = bfd_read (stringtab, obj_som_stringtab_size (abfd), 1, abfd); if (val != obj_som_stringtab_size (abfd)) error ("Can't read in HP string table."); |