From: Jim Kingdon Date: Wed, 19 Oct 1994 22:17:38 +0000 (+0000) Subject: * objfiles.h (struct objfile): Fix comment--minimal_symbol_count X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1e1e7a7ac878ff5a2e6692c423486e456c249384;p=binutils-gdb.git * objfiles.h (struct objfile): Fix comment--minimal_symbol_count does *not* include the terminating NULL msymbol. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 42c0755b41e..e009c262d98 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +Wed Oct 19 15:13:51 1994 Jim Kingdon (kingdon@lioth.cygnus.com) + + * objfiles.h (struct objfile): Fix comment--minimal_symbol_count + does *not* include the terminating NULL msymbol. + Tue Oct 18 20:53:29 1994 Rob Savoye * monitor.c (monitor_load_srec,monitor_make_srec): Add an asrecord diff --git a/gdb/objfiles.h b/gdb/objfiles.h index a4b3d2cd99f..2add5209d32 100644 --- a/gdb/objfiles.h +++ b/gdb/objfiles.h @@ -236,7 +236,7 @@ struct objfile by a "null symbol", one that has a NULL pointer for the name and a zero value for the address. This makes it easy to walk through the array when passed a pointer to somewhere in the middle of it. There is also - a count of the number of symbols, which does include the terminating + a count of the number of symbols, which does not include the terminating null symbol. The array itself, as well as all the data that it points to, should be allocated on the symbol_obstack for this file. */