This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
Re: Minor fix to comment in "minsyms.c"
- To: Guy Harris <guy at netapp dot com>
- Subject: Re: Minor fix to comment in "minsyms.c"
- From: Jim Blandy <jimb at zwingli dot cygnus dot com>
- Date: 19 Apr 2000 16:13:31 -0500
- Cc: gdb-patches at sourceware dot cygnus dot com
- References: <200004190133.SAA27375@tooting>
Thanks, I've committed this.
> "I see no MSYMBOL_HASH_ADD here." One version of the minsyms hashing
> patch had that macro, but the code in the CVS tree has the
> "add_minsym_to_hash_table()" function instead.
>
> *** /u/guy/src/cmd/gdb-cygnus-cvs/gdb/minsyms.c Tue Apr 18 17:35:37 2000
> --- ./minsyms.c Tue Apr 18 17:55:52 2000
> ***************
> *** 685,691 ****
> 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;
>
> --- 685,691 ----
> MSYMBOL_INFO (msymbol) = info; /* FIXME! */
>
> /* The hash pointers must be cleared! If they're not,
> ! add_minsym_to_hash_table will NOT add this msymbol to the hash table. */
> msymbol->hash_next = NULL;
> msymbol->demangled_hash_next = NULL;
>
>