This is the mail archive of the gdb-patches@sourceware.cygnus.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Minor fix to comment in "minsyms.c"



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;
>   
> 

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]