* solist.h (struct so_list): Document the requirement that
authorNicholas Duffek <nsd@redhat.com>
Fri, 25 May 2001 01:27:11 +0000 (01:27 +0000)
committerNicholas Duffek <nsd@redhat.com>
Fri, 25 May 2001 01:27:11 +0000 (01:27 +0000)
current_sos initialize some fields to 0.

gdb/ChangeLog
gdb/solist.h

index e4dc5a2..62b576e 100644 (file)
@@ -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>.
index 52fe9a8..fa00aaf 100644 (file)
@@ -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? */