2000-03-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
authorElena Zannoni <ezannoni@kwikemart.cygnus.com>
Thu, 9 Mar 2000 22:58:49 +0000 (22:58 +0000)
committerElena Zannoni <ezannoni@kwikemart.cygnus.com>
Thu, 9 Mar 2000 22:58:49 +0000 (22:58 +0000)
        * minsyms.c (prim_record_minimal_symbol_and_info): Add comment.

gdb/ChangeLog
gdb/minsyms.c

index 96f51d355997de131457c81882fab5275bec52d4..5517bc1a1177a3362bd511aae51cc4225912faae 100644 (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>
 
        * gdb.base/long_long.exp: Correct test suite failure when printing
index 9a083c0b52204266c1b8120cdf646281264a004b..b5cafee0f2ea223c8fc14d8f785a2d54133d619b 100644 (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.  */
   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->demangled_hash_next = NULL;