CORE_ADDR addr;
char *name;
- /* SECTINDEX must be valid for associated BFD if ADDR is not zero. */
+ /* SECTINDEX must be valid for associated BFD or set to -1. */
int sectindex;
} other[1];
};
void (*sym_read) (struct objfile *, int);
- /* Read the partial symbols for an objfile. This may be NULL, in
- which case gdb assumes that sym_read already read the partial
- symbols. This may only be non-NULL if the objfile actually does
- have debuginfo available. */
+ /* Read the partial symbols for an objfile. This may be NULL, in which case
+ gdb has to check other ways if this objfile has any symbols. This may
+ only be non-NULL if the objfile actually does have debuginfo available.
+ */
void (*sym_read_psymbols) (struct objfile *);