* h8300s now new target, not alias of h8300h
[deliverable/binutils-gdb.git] / gdb / solist.h
index 52fe9a8b317fd7e56dd704d3fcd9e0ea4ce85291..dd1100c31cfd5acc9f8c5c926c1b8e249bf0d3e6 100644 (file)
@@ -20,6 +20,9 @@
    Foundation, Inc., 59 Temple Place - Suite 330,
    Boston, MA 02111-1307, USA.  */
 
+#ifndef SOLIST_H
+#define SOLIST_H
+
 #define SO_NAME_MAX_PATH_SIZE 512      /* FIXME: Should be dynamic */
 
 /* Forward declaration for target specific link map information.  This
@@ -52,7 +55,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? */
@@ -117,3 +122,5 @@ extern struct target_so_ops *current_target_so_ops;
   (current_target_so_ops->open_symbol_file_object)
 #define TARGET_SO_IN_DYNSYM_RESOLVE_CODE \
   (current_target_so_ops->in_dynsym_resolve_code)
+
+#endif
This page took 0.02365 seconds and 4 git commands to generate.