aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1992-10-15 11:36:46 +0000
committerJohn Gilmore <gnu@cygnus>1992-10-15 11:36:46 +0000
commitc98d03eacfbae2a274d035acb9c08fc38d88a1ee (patch)
tree2781ad48b2d01fcf579185ecb7fe8e6d64520ac4 /include
parent4a8db3300db9cd74221bf217a776ba140382f328 (diff)
downloadgdb-c98d03eacfbae2a274d035acb9c08fc38d88a1ee.zip
gdb-c98d03eacfbae2a274d035acb9c08fc38d88a1ee.tar.gz
gdb-c98d03eacfbae2a274d035acb9c08fc38d88a1ee.tar.bz2
Update after comment changes.
Diffstat (limited to 'include')
-rw-r--r--include/ChangeLog4
-rw-r--r--include/bfd.h13
2 files changed, 14 insertions, 3 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index 3b74f34..eee8ef7 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,7 @@
+Thu Oct 15 04:35:51 1992 John Gilmore (gnu@cygnus.com)
+
+ * bfd.h: Update after comment changes.
+
Thu Oct 8 09:03:02 1992 Steve Chamberlain (sac@thepub.cygnus.com)
* bfd.h (bfd_get_symbol_leading_char): new macro for getting in xvec
diff --git a/include/bfd.h b/include/bfd.h
index 780c0bc..430b0ab 100644
--- a/include/bfd.h
+++ b/include/bfd.h
@@ -1,5 +1,5 @@
/* A -*- C -*- header file for the bfd library
- Copyright 1990, 1991 Free Software Foundation, Inc.
+ Copyright 1990, 1991, 1992 Free Software Foundation, Inc.
Contributed by Cygnus Support.
This file is part of BFD, the Binary File Descriptor library.
@@ -65,8 +65,15 @@ typedef struct _bfd bfd;
/* Yup, SVR4 has a "typedef enum boolean" in <sys/types.h> -fnf */
typedef enum bfd_boolean {false, true} boolean;
-/* Try to avoid breaking stuff */
-typedef long int file_ptr;
+/* A pointer to a position in a file. */
+/* FIXME: This should be using off_t from <sys/types.h>.
+ For now, try to avoid breaking stuff by not including <sys/types.h> here.
+ This will break on systems with 64-bit file offsets (e.g. 4.4BSD).
+ Probably the best long-term answer is to avoid using file_ptr AND off_t
+ in this header file, and to handle this in the BFD implementation
+ rather than in its interface. */
+/* typedef off_t file_ptr; */
+typedef long int file_ptr;
/* Support for different sizes of target format ints and addresses */