From a79dea61e75c0a10ad7d7ba7efe0148a04bc914a Mon Sep 17 00:00:00 2001 From: Elena Zannoni Date: Thu, 9 Mar 2000 22:58:49 +0000 Subject: [PATCH] 2000-03-06 Elena Zannoni * minsyms.c (prim_record_minimal_symbol_and_info): Add comment. --- gdb/ChangeLog | 4 ++++ gdb/minsyms.c | 2 ++ 2 files changed, 6 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 96f51d35599..5517bc1a117 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2000-03-06 Elena Zannoni + + * minsyms.c (prim_record_minimal_symbol_and_info): Add comment. + 2000-02-25 Scott Bambrough * gdb.base/long_long.exp: Correct test suite failure when printing diff --git a/gdb/minsyms.c b/gdb/minsyms.c index 9a083c0b522..b5cafee0f2e 100644 --- a/gdb/minsyms.c +++ b/gdb/minsyms.c @@ -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; -- 2.30.2