* solist.h (struct so_list): Document the requirement that

current_sos initialize some fields to 0.
This commit is contained in:
Nicholas Duffek 2001-05-25 01:27:11 +00:00
parent ae23c49223
commit fa3b51d224
2 changed files with 8 additions and 1 deletions

View 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> 2001-05-24 Mark Kettenis <kettenis@gnu.org>
* gnu-nat.c: Include <ctype.h>. * gnu-nat.c: Include <ctype.h>.

View File

@ -52,7 +52,9 @@ struct so_list
/* The following fields of the structure are built from /* The following fields of the structure are built from
information gathered from the shared object file itself, and 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; bfd *abfd;
char symbols_loaded; /* flag: symbols read in yet? */ char symbols_loaded; /* flag: symbols read in yet? */