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/xcoffread.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/xcoffread.c')
-rw-r--r-- | gdb/xcoffread.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/xcoffread.c b/gdb/xcoffread.c index b8c5ff1..ce36c95 100644 --- a/gdb/xcoffread.c +++ b/gdb/xcoffread.c @@ -1882,7 +1882,7 @@ init_stringtab (abfd, offset, objfile) ((struct coff_symfile_info *)objfile->sym_private)->strtbl = NULL; - if (bfd_seek (abfd, offset, L_SET) < 0) + if (bfd_seek (abfd, offset, SEEK_SET) < 0) error ("cannot seek to string table in %s: %s", bfd_get_filename (abfd), bfd_errmsg (bfd_get_error ())); @@ -2648,7 +2648,7 @@ xcoff_initial_scan (objfile, section_offsets, mainline) /* Read the symbols. We keep them in core because we will want to access them randomly in read_symbol*. */ - val = bfd_seek (abfd, symtab_offset, L_SET); + val = bfd_seek (abfd, symtab_offset, SEEK_SET); if (val < 0) error ("Error reading symbols from %s: %s", name, bfd_errmsg (bfd_get_error ())); |