summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/solist.h4
2 files changed, 8 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index e4dc5a271d0..62b576e17bf 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2001-05-24 Nick Duffek <nsd@redhat.com>
+
+ * solist.h (struct so_list): Document the requirement that
+ current_sos initialize some fields to 0.
+
2001-05-24 Mark Kettenis <kettenis@gnu.org>
* gnu-nat.c: Include <ctype.h>.
diff --git a/gdb/solist.h b/gdb/solist.h
index 52fe9a8b317..fa00aaff3d4 100644
--- a/gdb/solist.h
+++ b/gdb/solist.h
@@ -52,7 +52,9 @@ struct so_list
/* The following fields of the structure are built from
information gathered from the shared object file itself, and
- are initialized when we actually add it to our symbol tables. */
+ are set when we actually add it to our symbol tables.
+
+ current_sos must initialize these fields to 0. */
bfd *abfd;
char symbols_loaded; /* flag: symbols read in yet? */