summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Duffek <nsd@redhat.com>2001-05-25 01:27:11 +0000
committerNicholas Duffek <nsd@redhat.com>2001-05-25 01:27:11 +0000
commit5e52d6daa4838277261ecaf3067b67f2cf3347af (patch)
tree88f04a7de41373a11e0d886d3f5ea46867ad40e2
parent2107afb05722007d967981c29559cf6eae6bf4b6 (diff)
downloadgdb-5e52d6daa4838277261ecaf3067b67f2cf3347af.tar.gz
* solist.h (struct so_list): Document the requirement that
current_sos initialize some fields to 0.
-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? */