This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
Minor fix to comment in "minsyms.c"
- To: gdb-patches at sourceware dot cygnus dot com
- Subject: Minor fix to comment in "minsyms.c"
- From: Guy Harris <guy at netapp dot com>
- Date: Tue, 18 Apr 2000 18:33:25 -0700 (PDT)
"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;