2000-03-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>

* minsyms.c (prim_record_minimal_symbol_and_info): Add comment.
This commit is contained in:
Elena Zannoni 2000-03-09 22:58:49 +00:00
parent 5c86cbc78f
commit a79dea61e7
2 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,7 @@
2000-03-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* minsyms.c (prim_record_minimal_symbol_and_info): Add comment.
2000-02-25 Scott Bambrough <scottb@netwinder.org> 2000-02-25 Scott Bambrough <scottb@netwinder.org>
* gdb.base/long_long.exp: Correct test suite failure when printing * gdb.base/long_long.exp: Correct test suite failure when printing

View file

@ -667,6 +667,8 @@ prim_record_minimal_symbol_and_info (name, address, ms_type, info, section,
/* FIXME: This info, if it remains, needs its own field. */ /* FIXME: This info, if it remains, needs its own field. */
MSYMBOL_INFO (msymbol) = info; /* FIXME! */ MSYMBOL_INFO (msymbol) = info; /* FIXME! */
/* The hash pointers must be cleared! If they're not,
MSYMBOL_HASH_ADD will NOT add this msymbol to the hash table. */
msymbol->hash_next = NULL; msymbol->hash_next = NULL;
msymbol->demangled_hash_next = NULL; msymbol->demangled_hash_next = NULL;