* objfiles.h (struct objfile): Fix comment--minimal_symbol_count

does *not* include the terminating NULL msymbol.
This commit is contained in:
Jim Kingdon 1994-10-19 22:17:38 +00:00
parent dab0844122
commit 1e1e7a7ac8
2 changed files with 6 additions and 1 deletions

View File

@ -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 <rob@darkstar.cygnus.com> Tue Oct 18 20:53:29 1994 Rob Savoye <rob@darkstar.cygnus.com>
* monitor.c (monitor_load_srec,monitor_make_srec): Add an asrecord * monitor.c (monitor_load_srec,monitor_make_srec): Add an asrecord

View File

@ -236,7 +236,7 @@ struct objfile
by a "null symbol", one that has a NULL pointer for the name and a zero 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 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 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 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. */ to, should be allocated on the symbol_obstack for this file. */