aboutsummaryrefslogtreecommitdiff
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
commitfa3b51d224d7b32bace5c9059a4e6a4b39a177f6 (patch)
treef621cab58f7ac8397cbcabe0a24b6a5180d64c64
parentae23c49223273e227404b92bc17782ec5cc8f311 (diff)
downloadgdb-fa3b51d224d7b32bace5c9059a4e6a4b39a177f6.zip
gdb-fa3b51d224d7b32bace5c9059a4e6a4b39a177f6.tar.gz
gdb-fa3b51d224d7b32bace5c9059a4e6a4b39a177f6.tar.bz2
* 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 e4dc5a2..62b576e 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 52fe9a8..fa00aaf 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? */